Can't see gametextforplayer
#1

pawn Код:
forward WaitTimer(playerid, waittime);

forward one(playerid);
forward two(playerid);
forward three(playerid);
forward start(playerid);


YCMD:test1(playerid, params[], help)
{
    #pragma unused params
    #pragma unused help
    WaitTimer(playerid, 2000);
    return 1;
}


public WaitTimer(playerid,waittime)
{
   
    SetTimerEx("three", waittime,0,"i",playerid);
    SetTimerEx("two", waittime+waittime, 0,"i",playerid);
    SetTimerEx("one", waittime+waittime+waittime, 0,"i",playerid);
    SetTimerEx("start", waittime+waittime+waittime+waittime, 0,"i",playerid);
   
}


public three(playerid)
{
   TogglePlayerControllable(playerid, 0);
   GameTextForPlayer(playerid,"Loading",2000,2);
   return 1;
}

public two(playerid)
{
   GameTextForPlayer(playerid,"Loading.",2000,2);
   return 1;
}

public one(playerid)
{
   GameTextForPlayer(playerid,"Loading. .",2000,2);
   return 1;
}

public start(playerid)
{
   TogglePlayerControllable(playerid, 1);
   GameTextForPlayer(playerid,"Loading . . .",3000,2);
   return 1;
}
For some reason i can't see GameTextForPlayer. Maybe there is a better way to make such script?
Reply


Messages In This Thread
Can't see gametextforplayer - by ajwar - 19.07.2011, 11:22
Re: Can't see gametextforplayer - by zombieking - 19.07.2011, 11:28
Re: Can't see gametextforplayer - by ajwar - 19.07.2011, 11:33
Re: Can't see gametextforplayer - by zombieking - 19.07.2011, 11:57

Forum Jump:


Users browsing this thread: 3 Guest(s)