help me
#3

pawn Код:
else if(strcmp(string, "spawn", true) == 0)
        {
            if(PlayerInfo[playerid][pOwnedCar1] != 0)
            {
                if(number != 0 && number != -1)
                {
                    SpawnOwnedCar(playerid, number);
                }else{SendClientMessage(playerid, COLOR_GREY, "USAGE: /v spawn [slot]");}
            }else{SendClientMessage(playerid, COLOR_GREY, "You don't have a vehicle on that slot!");}
        }
I've fixed it by myself, but how can I check if someone doesn't have vehicle on slot 2 and 3?

The problem is if I have a vehicle on slot 1, I can use /spawn 2 and 3 which it makes a bug checkpoint on Blueberry.

Pleasee help me
Reply


Messages In This Thread
help me - by grizzley - 06.10.2014, 08:34
Re: help me - by grizzley - 08.10.2014, 13:16
Re: help me - by grizzley - 09.10.2014, 07:47
Re: help me - by Rudy_ - 09.10.2014, 08:31
Re: help me - by YanLanger - 09.10.2014, 08:33
Re: help me - by grizzley - 09.10.2014, 08:38
Re: help me - by Rudy_ - 09.10.2014, 08:48
Re: help me - by grizzley - 09.10.2014, 08:50
Re: help me - by Rudy_ - 09.10.2014, 08:58
Re: help me - by grizzley - 09.10.2014, 09:44

Forum Jump:


Users browsing this thread: 1 Guest(s)