13.11.2011, 12:10
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(Drugs[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
GivePlayerMoney(playerid, -3000);
SetPlayerWeather(playerid, -66);
if(GetPlayerMoney[playerid] == <3000) return SendClientMessage(playerid, COLOR_BRIGHTRED, "Error:You don't have enough money");
{
return 1;
}
pawn Код:
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(567) : error 028: invalid subscript (not an array or too many subscripts): "GetPlayerMoney"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(567) : warning 215: expression has no effect
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(567) : error 001: expected token: ";", but found "]"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(567) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(567) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.