- เครดิต
- 142
- ความรู้
-
- เงิน $
-
- ความดี
-
|
ืทำยังไงต่อ
public GameModeInitExitFunc()
{
new string[128];
format(string, sizeof(string), "Restart Server");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
DestroyDynamicPickup(BagPickup);
DisablePlayerCheckpoint(i);
gPlayerCheckpointStatus[i] = CHECKPOINT_NONE;
GameTextForPlayer(i, string, 4000, 5);
SetPlayerCameraPos(i,1460.0, -1324.0, 287.2);
SetPlayerCameraLookAt(i,1374.5, -1291.1, 239.0);
OnAccountUpdate(i);
gPlayerLogged[i] = 0;
}
}
SetTimer("GameModeExitFunc", 4000, 0);
return 1;
} |
|