Quote:
Originally Posted by Jonny5
weird try this
pawn Код:
if(strcmp(cmd, "/wschein", true) == 0) { if (!PlayerToPoint(3.0, playerid,249.4883,67.6739,1003.6406)) { SendClientMessage(playerid,COLOR_CRVENA,"[ERROR]:You cannot buy the weapon license here"); return 1; } if(PlayerInfo[playerid][pGunLic] == 1) { SendClientMessage(playerid,COLOR_CRVENA,"[ERROR]:You already have a weapon license"); return 1; } SendClientMessage(playerid,COLOR_INFO, "[INFO]:Waffenschein gekauft."); PlayerInfo[giveplayerid][pGunLic] = 1; GivePlayerCash(playerid, - 4000); return 1; }
|
and what is the difference?