Quote:
Originally Posted by eDz0r
Quote:
Originally Posted by DJDhan
You should explain more  Anyways I'm assuming this code is for buying a weapon
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
new Money = GetPlayerMoney(playerid);
if ((newkeys & KEY_SUBMISSION) && !(oldkeys & KEY_SUBMISSION))
{
if(Money > 49)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 4018.4192, -567.8613, 34.7879))
{
GivePlayerWeapon(playerid, 22, 35);
GivePlayerMoney(playerid, -75);
}
}
}
return 1;
}
|
Not Woring 
Compile with no error
|
Well, that is the correct code. Maybe you have something wrong in the GM and Pawno won't recognize it?