Dezmont_Mailz
Умник
нужна помощь с решением этой проблемы!
gamemodes\GrandRp.pwn(113) : error 001: expected token: ";", but found "static"
gamemodes\GrandRp.pwn(604) : error 025: function heading differs from prototype
gamemodes\GrandRp.pwn(5987) : error 025: function heading differs from prototype
gamemodes\GrandRp.pwn(5988) : error 021: symbol already defined: "GiveMoney"
gamemodes\GrandRp.pwn(5991) : warning 209: function "GiveMoney" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
строка-------->113
строка-------------->604
строка---------->5987,5988,5991
gamemodes\GrandRp.pwn(113) : error 001: expected token: ";", but found "static"
gamemodes\GrandRp.pwn(604) : error 025: function heading differs from prototype
gamemodes\GrandRp.pwn(5987) : error 025: function heading differs from prototype
gamemodes\GrandRp.pwn(5988) : error 021: symbol already defined: "GiveMoney"
gamemodes\GrandRp.pwn(5991) : warning 209: function "GiveMoney" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
строка-------->113
PHP:
static gTeam[MAX_PLAYERS];
строка-------------->604
PHP:
forward GiveMoney(playerid, amount);
строка---------->5987,5988,5991
PHP:
public GiveMoney(playerid, amount)
{
PlayerInfo[playerid][pCash] += amount;
GivePlayerMoney(playerid, amount);
}
