Sweeper[rep]
#1

i made a thingy and how can i make it so if i enter sweeper it shows me automaticly the checkpoint so i dont do /matura each time.!(/matura = sweep)

PHP Code:
    if(strcmp(cmd"/matura"true) == 0)
                {
                   if(
PlayerInfo[playerid][pJob] >= 18)
                {
                if(
IsPlayerConnected(playerid))
                {
                    new 
newcar GetPlayerVehicleID(playerid);
                    if(
IsASweeper(newcar))
                     {
                        
CP[playerid] = 78;
                           
SetPlayerCheckpoint(playerid1195.8503,-1324.3208,13.12363.0);
                           
SendClientMessage(playeridCOLOR_YELLOW,"Strazile sunt de mult nematurate..");
                    }
                }
                }
                else
                {
                return 
1;
                }
                } 
Reply


Messages In This Thread
Sweeper[rep] - by Dan_Barocu - 11.04.2012, 23:39
Re: Sweeper[rep] - by The__ - 11.04.2012, 23:58
Re: Sweeper[rep] - by Dan_Barocu - 11.04.2012, 23:59
Re: Sweeper[rep] - by Marco_Valentine - 12.04.2012, 00:01
Re: Sweeper[rep] - by Dan_Barocu - 12.04.2012, 00:03
Re: Sweeper[rep] - by The__ - 12.04.2012, 00:06
Re: Sweeper[rep] - by Marco_Valentine - 12.04.2012, 00:09
Re: Sweeper[rep] - by Dan_Barocu - 12.04.2012, 00:18
Re: Sweeper[rep] - by Marco_Valentine - 12.04.2012, 00:23
Re: Sweeper[rep] - by Dan_Barocu - 12.04.2012, 00:25

Forum Jump:


Users browsing this thread: 1 Guest(s)