17.05.2012, 15:55
When I added this code: (BTW if you want to know which line is which tho top line that says "CMD: smokeon(playerid, params[])" is line number "5668".
I got this:
How can I fix this?
PLEASE Help I will +rep anyone that can help me
Код:
CMD:smokeon(playerid, params[]) { new objectid = CreateObject(2780,487.70001221,-2.40000010,999.70001221,0.00000000,0.00000000,0.00000000); //object(cj_smoke_mach) (3) SendClientMessage(playerid, COLOR_RED, "Smoke turned on"); return 1; } CMD:smokeoff(playerid, params[]) { DestroyObject(objectid); SendClientMessage(playerid, COLOR_RED, "Smoke turned off"); return 1; }
Код:
(5670) : warning 204: symbol is assigned a value that is never used: "objectid" (5676) : error 017: undefined symbol "objectid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
PLEASE Help I will +rep anyone that can help me