24.10.2012, 21:55
Make a new global variable:
Under OnPlayerRequestClass:
Under OnPlayerSpawn:
PHP код:
new spawncount;
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
spawncount = GetTickCount();
return 1;
}
PHP код:
new spawntimestring[87];
format(spawntimestring, 87, "It took you %d to select your class and spawn", GetTickCount() - spawncount);
SendClientMessage(playerid, -1, spawntimestring);