Spamming text.. - 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)
+--- Thread: Spamming text.. (
/showthread.php?tid=610803)
Spamming text.. -
MayaEU - 28.06.2016
Hi when i register a new account it will proceed me to the tutorial
but "You will be proceed to the tutorial." is being spammed three times. how to fix that?
pawn Код:
if(PlayerInfo[playerid][pTut] == 0)
{
gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "You will now proceed to the Tutorial.");
SetPlayerInterior(playerid, 1);
SetPlayerVirtualWorld(playerid, (playerid + MAX_PLAYERS));
SetPlayerPos(playerid, 1.71875, 30.4062, 1200.34);
SetPlayerCameraPos(playerid, 1.519, 33.851, 1199.59);
SetPlayerCameraLookAt(playerid, 1.71875, 30.4062, 1200.34);
TutTime[playerid] = 1;
}
Re: Spamming text.. -
Stinged - 28.06.2016
Is it in a timer, OnPlayerUpdate, a loop or something?
Re: Spamming text.. -
MayaEU - 28.06.2016
Nope its at player spawn
stock SetPlayerSpawn(playerid)
Re: Spamming text.. -
Sew_Sumi - 28.06.2016
Quote:
Originally Posted by MayaEU
Nope its at player spawn
stock SetPlayerSpawn(playerid)
|
It's not a stock. It doesn't need to be stock.