Quote:
Originally Posted by *IsBack
Wow you are really bad at pawn..
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/hyd", cmdtext, true, 10) == 0) { if(gVIP[playerid] == 1){ if(IsPlayerInAnyVehicle(playerid)){ SendClientMessage(playerid, COLOR_GREEN, "Hydraulics added to your vehicle!"); AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);} else{ SendClientMessage(playerid, COLOR_RED, "You're not in a car!");} else{ SendClientMessage(playerid, COLOR_RED, "You're not a VIP!");} return 1; } return 0; }
|
Haha I now have 13 errors now! thanks -.-