is this correct?
#2

Quote:
Originally Posted by sampmark05
Посмотреть сообщение
Код:
CMD:goldrims
{
    AddVehicleComponent(vehicleid, 1080);
    )
    return 1;
}
Im getting this error

C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NR-RP.pwn(3666 : error 010: invalid function or declaration
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NR-RP.pwn(36671) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Your code had few mistakes, but don't worry I fixed it.

pawn Код:
CMD:goldrims(playerid, params[]) // (playerid, params[]) <-- this is very important
{
    AddVehicleComponent(vehicleid, 1080);
    return 1;
}
You will need zcmd include for this command.

-FalconX
Reply


Messages In This Thread
is this correct? - by sampmark05 - 26.04.2012, 05:55
Re: is this correct? - by FalconX - 26.04.2012, 05:59
Re: is this correct? - by RollTi - 26.04.2012, 06:03
Re: is this correct? - by sampmark05 - 26.04.2012, 06:03
Re: is this correct? - by sampmark05 - 26.04.2012, 06:06
Re: is this correct? - by FalconX - 26.04.2012, 06:09
Re: is this correct? - by sampmark05 - 26.04.2012, 06:15
Re: is this correct? - by FalconX - 26.04.2012, 06:16
AW: is this correct? - by Blunt P - 26.04.2012, 06:17
Re: AW: is this correct? - by Mark™ - 26.04.2012, 06:29

Forum Jump:


Users browsing this thread: 1 Guest(s)