03.12.2010, 19:45
(
Последний раз редактировалось Larsey123IsMe; 03.12.2010 в 20:23.
Причина: Script Edited
)
1 ERRPR left:
ERROR:
pawn Код:
#define COLOR_GREEN 0x33AA33AA
//-------------------------------------------------------------------------------------------------------------
new ArmourCP;
//-------------------------------------------------------------------------------------------------------------
public OnPlayerSpawn(playerid)
{
ArmourCP = SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
return 1;
}
//-------------------------------------------------------------------------------------------------------------
public OnPlayerCommandText(playerid, cmdtext[])
{
if(ArmourCP); //ERROR here =/
{
if (strcmp("/buyarmour", cmdtext, true, 10) == 0)
{
if(GetPlayerMoney(playerid) <= 5000)
{
SendClientMessage(playerid, COLOR_GREEN, "Armour Bought For 5000$");
GivePlayerMoney(playerid, -5000);
SetPlayerArmour(playerid, 100);
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "You Dont Have 5000$");
}
}
}
}
pawn Код:
C:\Users\Larsey123\Documents\SAMP Server\My server\filterscripts\BuyThings.pwn(17) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.