Spamming text..
#1

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;
        }
Reply
#2

Is it in a timer, OnPlayerUpdate, a loop or something?
Reply
#3

Nope its at player spawn
stock SetPlayerSpawn(playerid)
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)