[COMPILE ERROR] VEH Command
#1

Heres my VEH command
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;
}
And the errors that i am getting are:
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.
Reply


Messages In This Thread
[COMPILE ERROR] VEH Command - by NewerthRoleplay - 30.04.2012, 20:58
Re: [COMPILE ERROR] VEH Command - by Youice - 30.04.2012, 21:05
Re: [COMPILE ERROR] VEH Command - by NewerthRoleplay - 30.04.2012, 21:09
Re: [COMPILE ERROR] VEH Command - by Youice - 30.04.2012, 21:10
Re: [COMPILE ERROR] VEH Command - by Youice - 30.04.2012, 21:12
Re: [COMPILE ERROR] VEH Command - by Max_Coldheart - 30.04.2012, 21:17
Re: [COMPILE ERROR] VEH Command - by MP2 - 30.04.2012, 22:07
Re: [COMPILE ERROR] VEH Command - by NewerthRoleplay - 30.04.2012, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)