30.03.2011, 13:22
Hello fiend's
How to make the exp growth in 1 minutes!
Random setplayerxp..
HELP!
How to make the exp growth in 1 minutes!
Random setplayerxp..
HELP!
forward RandomXP( playerid );
public RandomXP( playerid )
{
SetPlayerScore( playerid,GetPlayerScore( playerid ) +random( 40 ) +5 );
}
D:\ZFR\gamemodes\ZFR.pwn(80) : error 017: undefined symbol "playerid"
SetTimer("RandomXP",60000,1);
public OnPlayerSpawn( playerid )
{
SetTimerEx( "RandomXP", 60000, true, "d", playerid );
return true;
}