31.01.2011, 14:02
Yes of course, you didnt removed the check outside the command -_-
pawn Код:
if(strcmp(cmdtext, "/gotos", true) == 0) if(AccountInfo[playerid][aLevel] <= 0) return SendClientMessage(playerid, COLOR_RED, "You need to be a Helper to use gotos command!"); else return SetPlayerPos(playerid, -395.12805176,1745.45959473,30), SendClientMessage(playerid,red, "Welcome to Staff Base.");
if(strcmp(cmdtext, "/agateo", true) == 0) if(AccountInfo[playerid][aLevel] <= 0) return SendClientMessage(playerid, COLOR_RED, "You need to be a Helper to use gotoo command!"); else return MoveObject(agate,-393.12805176,1745.45959473,30, 3), SendClientMessage(playerid,red, "Welcome to Staff Base.");
if(strcmp(cmdtext, "/agatec", true) == 0) if(AccountInfo[playerid][aLevel] <= 0) return SendClientMessage(playerid, COLOR_RED, "You need to be a Helper to use gotoc command!"); else return MoveObject(agate, -393.12805176,1745.45959473,42.42666626, 3), SendClientMessage(playerid,red, "You're leaving staff base.");

