SCRIPT ERROR [+rep]
#8

Try this
PHP код:
CMD:pu(playerid,params[]){
if    (
PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pLeader] == ||
    
PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pLeader] == 2)
    {
    switch(
pTrack)
    {
        case 
INVALID_PLAYER_ID:
        {
            new 
id;
            if(
sscanf(params,"u",id)) return SendClientMessage(playerid,-1,"/c20 [playerid]");
            if(!
IsPlayerConnected(id)) return SendClientMessage(playerid,-1,"Invalid playerid");
            
pTrack[playerid] = id;
            
pTrackTimer[playerid] = SetTimerEx("TrackTimer",1000,1,"i",playerid);
        }
        default
        {
            
pTrack[playerid] = INVALID_PLAYER_ID;
            
KillTimer(pTrackTimer[playerid]);
            
DisablePlayerCheckpoint(playerid);
        }
    }
    return 
1;

Reply


Messages In This Thread
SCRIPT ERROR [+rep] - by Lunixx - 30.07.2015, 18:17
Re: SCRIPT ERROR [+rep] - by Variable™ - 30.07.2015, 18:19
Re: SCRIPT ERROR [+rep] - by Lunixx - 30.07.2015, 18:46
Re: SCRIPT ERROR [+rep] - by Variable™ - 30.07.2015, 18:47
Re: SCRIPT ERROR [+rep] - by Lunixx - 30.07.2015, 18:51
Re: SCRIPT ERROR [+rep] - by Variable™ - 30.07.2015, 18:53
Re: SCRIPT ERROR [+rep] - by Lunixx - 30.07.2015, 19:02
Re: SCRIPT ERROR [+rep] - by IndependentGaming - 30.07.2015, 19:06
Re: SCRIPT ERROR [+rep] - by Variable™ - 30.07.2015, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)