31.10.2010, 00:06
Normal
Dosen't work
works but can't find /adminbase command
does anyone know how to make this work for luxadmin system?
pawn Код:
//-----------------------------------
if(strcmp(cmdtext, "/adminbase", true, 3) == 0)
{
SetPlayerPos(playerid, 1694.74609375, -1502.1645507813, 1841.9893798828);
SetPlayerFacingAngle(playerid, 0);
return 1;
}
pawn Код:
if(strcmp(cmdtext, "/adminbase", true, 3) == 0)
{
if(AccInfo[playerid][Level] >= 1)
{
SetPlayerPos(playerid, 1694.74609375, -1502.1645507813, 1841.9893798828);
SetPlayerFacingAngle(playerid, 0);
return 1;
}
}
pawn Код:
if(strcmp(cmdtext, "/adminbase", true, 3) == 0)
{
if(!IsPlayerAdmin(playerid)) return 0;
SetPlayerPos(playerid, 1694.74609375, -1502.1645507813, 1841.9893798828);
SetPlayerFacingAngle(playerid, 0);
return 1;
}