What's wrong here?
#4

Thanks, also guys, sorry to go of the topic:
Код:
    case REPAIR_DIALOG:
	{
        if(!response) return 1;
        if(response)
        {
	        if(PlayerInfo[playerid][pCash] == 200)
			{
	  			RepairVehicle(GetPlayerVehicleID(playerid));
	            SendClientMessage(playerid, 0xE60000FF,"Warning:{FFFFFF} Your vehicle has been repaired! Amount: $200!");
	            PlayerInfo[playerid][pCash] -= 200;
			}
			else return SendClientMessage(playerid, 0xE60000FF, "Warning: {FFFFFF} You need $200 before this can happen!");
			return 1;
		}
	}
}
Код:
error 014: invalid statement; not in switch
warning 215: expression has no effect
error 001: expected token: ";", but found ":"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
What's wrong here? - by BleverCastard - 24.04.2012, 20:17
Re: What's wrong here? - by [D]ry[D]esert - 24.04.2012, 20:22
Re: What's wrong here? - by ViniBorn - 24.04.2012, 20:22
Re: What's wrong here? - by BleverCastard - 24.04.2012, 20:37
Re: What's wrong here? - by tiernantheman - 24.04.2012, 20:39
Re: What's wrong here? - by BleverCastard - 24.04.2012, 20:41
Re: What's wrong here? - by BleverCastard - 24.04.2012, 20:58
Re: What's wrong here? - by MP2 - 24.04.2012, 21:10
Re: What's wrong here? - by BleverCastard - 24.04.2012, 21:15
Re: What's wrong here? - by MP2 - 24.04.2012, 21:19

Forum Jump:


Users browsing this thread: 1 Guest(s)