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