Pawn Errors Help Needed!
#3

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 -.-
Reply


Messages In This Thread
Pawn Errors Help Needed! - by Jack_Rocker - 07.01.2011, 17:30
Re: Pawn Errors Help Needed! - by *IsBack - 07.01.2011, 17:32
Re: Pawn Errors Help Needed! - by Jack_Rocker - 07.01.2011, 17:34
Re: Pawn Errors Help Needed! - by *IsBack - 07.01.2011, 17:37
Re: Pawn Errors Help Needed! - by HyperZ - 07.01.2011, 17:41

Forum Jump:


Users browsing this thread: 1 Guest(s)