[HELP] I have a problem with a script - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] I have a problem with a script (
/showthread.php?tid=100290)
[HELP] I have a problem with a script -
linthebigs - 04.10.2009
This is my script:
tempoBomba ++;
if(TempoBomba == 50&&EstaCounter[i] > 0)
{
SetPlayerSpawn(i);
SetCameraBehindPlayer(i);
TempoBomba = 0;
TempoCounter = 0;
BombaArmando = 0;
SendClientMessage(i, LILAS, "Reiniciando Partida!");
SetPlayerHealth(i, 100);
}
Why the functions SetPlayerSpawn(i); SetCameraBehindPlayer(i); are executed only by a player
The others players don`t get to execute the functions. One player gets to execute the functions. Please, help me!!!
Re: [HELP] I have a problem with a script -
linthebigs - 04.10.2009
This script is in a SetTimer. When the
TempoBomba == 50, that functions are executed by only a player.