Spaces in ZCMD and Car commands
#5

Mr Annoymous what is the SendClientMessage(playerid, -1, "Engine turned ON");
in your code
how do I change the the colour and what does the -1 stand for.
Also I got errors

S:\Program Files\SG-RP Custom\gamemodes\SG-RP.pwn(228) : error 017: undefined symbol "vid"
S:\Program Files\SG-RP Custom\gamemodes\SG-RP.pwn(229) : error 017: undefined symbol "vid"
S:\Program Files\SG-RP Custom\gamemodes\SG-RP.pwn(230) : error 037: invalid string (possibly non-terminated string)
S:\Program Files\SG-RP Custom\gamemodes\SG-RP.pwn(230) : error 017: undefined symbol "Engine"
S:\Program Files\SG-RP Custom\gamemodes\SG-RP.pwn(230) : error 017: undefined symbol "sucessfully"
S:\Program Files\SG-RP Custom\gamemodes\SG-RP.pwn(230) : fatal error 107: too many error messages on one line


CMD:engine(playerid,params[])
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vid,engine,lights,alarm,doors,b onnet,boot,objective);
SetVehicleParamsEx(vid,engine,lights,alarm,doors,1 ,boot,objective);
SendClientMessage(playerid, -1, "Engine sucessfully started);
return 1;
}
Reply


Messages In This Thread
Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 13:55
Re: Spaces in ZCMD and Car commands - by Mr.Anonymous - 04.01.2013, 14:20
Re: Spaces in ZCMD and Car commands - by Babul - 04.01.2013, 15:04
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:14
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:17
Re: Spaces in ZCMD and Car commands - by Babul - 04.01.2013, 15:26
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:41
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:45
Re: Spaces in ZCMD and Car commands - by Astrais - 04.01.2013, 15:48
Re: Spaces in ZCMD and Car commands - by Babul - 04.01.2013, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)