hotwire help
#4

Quote:
Originally Posted by Яσскѕтая
Посмотреть сообщение
I got part of it for you, someone will have to finish it, I don't work with roleplay scripts so I can not finish it.
pawn Код:
if(strcmp(cmd, "/hotwire", true) == 0)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        if(PlayerInfo[playerid][pJob] == 5)
        {
            new string[256];
            new name[MAX_PLAYERS];
            GetPlayerName(playerid, name, sizeof(name));
            TogglePlayerControllable(playerid, 1);
            format(string,sizeof(string),"%s starts to hotwire a car.",name);
            SendClientMessageToAll(COLOR_HERE,string);
        }
        else
        {
            SendClientMessage(playerid, 0xAFAFAFAA, "* You are not a car jacker!");
        }
    }
    else
    {
        SendClientMessage(playerid, 0xAFAFAFAA, "* you need to sit in the car!");
    }
    return 1;
}
EDIT: The guy above posted while I was typing, do pay attention to what he said.
can someone finish it i don't know about /hotwire anything
Reply


Messages In This Thread
hotwire help - by heroyou1221 - 21.07.2010, 08:39
Re: hotwire help - by Joe_ - 21.07.2010, 09:04
Re: hotwire help - by Яσскѕтая - 21.07.2010, 09:06
Re: hotwire help - by heroyou1221 - 21.07.2010, 11:53

Forum Jump:


Users browsing this thread: 4 Guest(s)