18.11.2014, 17:06
Aye people.
I got little prob
How could i make if player types /weaponshop it will say him "You are not in the weapon shop"
P.S: If you need the cmd tell.
I got little prob
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInCheckpoint(playerid))
{
if(GetPlayerPos(playerid, 296.5538,-38.1188,1001.5156) return SendClientMessage(playerid, -1, "You are not in the weaponshop.");
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose your weapon", "Deagle\nShotgun\nSniper\nM4\nMP5\nCombat\nGrenade\nTec9", "Purchase", "Exit");
}
SetPlayerPos(playerid, 286.9429,-37.3731,1001.5156);
SendClientMessage(playerid, -1, "You have entered the weapon shop");
return 1;
}
P.S: If you need the cmd tell.