16.03.2012, 15:31
pawn Код:
if(strcmp(cmd, "/wschein", true) == 0)
{
if (!PlayerToPoint(3.0, playerid,249.4883,67.6739,1003.6406)) return SendClientMessage(playerid,COLOR_CRVENA,"[ERROR]:You cannot buy the weapon license here");
if(PlayerInfo[playerid][pGunLic] == 1) return SendClientMessage(playerid,COLOR_CRVENA,"[ERROR]:You already have a weapon license");
SendClientMessage(playerid,COLOR_INFO, "[INFO]:Waffenschein gekauft.");
PlayerInfo[giveplayerid][pGunLic] = 1;
GivePlayerCash(playerid, - 4000);
return true;
}