29.01.2014, 15:18
pawn Код:
COMMAND:DM(playerid, params[])
{
if(APlayerData[playerid][PlayerLevel] >= 1) // Your level.
{
SetPlayerPos(playerid, 1302.519897,-1.787510,1001.028259);
SetPlayerInterior(playerid, 18);
SendClientMessage(playerid, -1, "Welcome to Warehouse 2");
}
else
{
// What would happen if the condition is not fulfilled.
}
return 1;
}
If it is not it, check that it is not using 'ZCMD 'and 'OnPlayerCommandText' in the same script.
Regards.