AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Medals for players (https://forums.alliedmods.net/showthread.php?t=92990)

~Ice*shOt 05-23-2009 01:35

Medals for players
 
i using this code:
PHP Code:

public ev_NewRound()
{
for(new 
<= g_maxplayers i++)
{
if(
is_user_connected(i))
{
if (
iKills[i] == random_num(1,2))
{
PlayerMedals[i] += 1
static name[32] ; get_user_name(inamecharsmax(name));
client_printcolor(0"/g[/ctrZombie Swarm XP/g] /ySurvivor /ctr%s /ygot /g%d /ya medal for a honor."nameiKills[i])
}

iKills[i] = 1
}
}


But i not have a medals.. what i doing bad ?

joaquimandrade 05-23-2009 01:44

Re: Medals for players
 
I admire your persistence

~Ice*shOt 05-23-2009 02:15

Re: Medals for players
 
? HELP

joaquimandrade 05-23-2009 03:05

Re: Medals for players
 
Quote:

Originally Posted by ~Ice*shOt (Post 832872)
? HELP

Wait that you turn 14 or get a older friend that knows amxx to help you.


All times are GMT -4. The time now is 01:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.