Help attach object with else
#1

Код HTML:
COMMAND:bandana(playerid, params[]) // or CMD:mycommand(playerid, params[])
{
SetPlayerAttachedObject(playerid, 0, 18912, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
SendClientMessage(playerid, COLOR_GREEN, "Repeat command to remove object");
}
else
{
RemovePlayerAttachedObject(0);
}
return 1;
}
Error

C:\Users\Digital\Documents\samp\filterscripts\band an.pwn(139) : error 010: invalid function or declaration
C:\Users\Digital\Documents\samp\filterscripts\band an.pwn(143) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Line 139 its else
143 its return 1;
Reply


Messages In This Thread
Help attach object with else - by GrOobY - 06.05.2014, 18:30
Re: Help attach object with else - by David (Sabljak) - 06.05.2014, 18:43
Re: Help attach object with else - by GrOobY - 06.05.2014, 18:46
Re: Help attach object with else - by mrtms - 06.05.2014, 19:58
Re: Help attach object with else - by GrOobY - 06.05.2014, 20:14
Re: Help attach object with else - by gekas - 06.05.2014, 20:16
Re: Help attach object with else - by GrOobY - 06.05.2014, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)