01.02.2014, 19:07
(
Последний раз редактировалось Porta0123; 01.02.2014 в 19:09.
Причина: cambio el tнtulo
)
bueno es un error muy simple:
error:
cуdigo:
error:
Quote:
error 033: array must be indexed (variable "Playerinevent") |
pawn Код:
new Playerinevent[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
if(Playerinevent[playerid] == 1)
{
Playerinevent[playerid] == 0;
GivePlayerMoney(killerid, 500);
SetPlayerScore(killerid, GetPlayerScore(killerid)+2);
}
return 1;
}