13.08.2011, 10:20
Try to use:
if(sInfo[Niveau]) >= 7) {
}
PHP код:
CMD:waffenlager(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid, 3.0,-251.6501,4355.1094,88.7158))
{
ShowPlayerDialog(playerid, WAFFENLAGER_DIALOG, DIALOG_STYLE_LIST, "Waffenlager","Knife\nDeagle\nMP5\nM4\nAK47\nSniper","Nehmen","");
}
else if(sInfo[Niveau]) >= 7) {
{
SendClientMessage(playerid, FARBE_ROT, "Du stehst nicht neben den Waffenlager!");
return 1;
}
return 1;
}
}