10.09.2010, 21:38
Hello i made a small filter script (this isn't all of it), it spawns and unfreezes the first person on the server but the others stay frozen.
Script:
forward objectsload();
public OnPlayerSpawn(playerid)
{
TogglePlayerControllable(playerid, 0);
SetTimer("objectsload", 3000, 0);
SendClientMessage(playerid,COLOR_WHITE,"Your frozen for 3 seconds, Loading Objects...");
return 1;
}
public objectsload()
{
new playerid;
TogglePlayerControllable(playerid, 1);
return 1;
}
(parts of filterscript, thats all i need to show)
Any ideas?
thanks
Script:
forward objectsload();
public OnPlayerSpawn(playerid)
{
TogglePlayerControllable(playerid, 0);
SetTimer("objectsload", 3000, 0);
SendClientMessage(playerid,COLOR_WHITE,"Your frozen for 3 seconds, Loading Objects...");
return 1;
}
public objectsload()
{
new playerid;
TogglePlayerControllable(playerid, 1);
return 1;
}
(parts of filterscript, thats all i need to show)
Any ideas?
thanks