25.02.2009, 22:41
There we go! Thank you to everyone that assisted in getting this command to work. Much appreciated, take care people!
[quote=samgreen ]
[quote=samgreen ]
Quote:
Originally Posted by jbtech
It almost did, then I get a Unreachable Warning for some reason. "\\Cpu-test1\samp servers\SAMRP\GAMEMO~1\samrp.pwn(31742) : warning 225: unreachable code" Right at the point where the command is closing off, right at the last return.
MoveObject(lspddoor, 247.27613, 72.55864, 1002.65979, 1); LSPDDoor = true; SendClientMessage(playerid, COLOR_GREY, "You've closed the door."); return 1; return 1; Remove that last return statement. Pawn is complaining because every code branch will return a value. It's not possible for the code to ever reach that return statement. |