30.04.2012, 20:58
Heres my VEH command
And the errors that i am getting are:
pawn Код:
CMD:veh(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] => 3)
{
new vehid;
new Float:x, Float:y, Float:z;
if(sscanf(params, "u", vehid)) return SendClientMessage(playerid, COLOR_RED, "Use /veh [vehicle id]");
else
{
GetPlayerPos(playerid, x, y, z);
CreateVehicle(vehid, x, y, z, 82.2873, 0, 0, 0);
)
}
else SendClientMessage(playerid, COLOR_RED, " ** You must be a level 3 Admin to use that! ");
return 1;
}
pawn Код:
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(527) : warning 211: possibly unintended assignment
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(527) : error 029: invalid expression, assumed zero
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(527) : warning 215: expression has no effect
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(527) : error 001: expected token: ";", but found ")"
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(527) : error 029: invalid expression, assumed zero
C:\Users\Rob\Documents\PAWNO\gamemodes\NRP.pwn(527) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 * * Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.