10.01.2014, 02:01
Quote:
Me imagino que has creado la variable asн:
pawn Код:
|
Mi error: C:\Users\RZoone\Desktop\GMFR\gamemodes\GMFR.pwn(37 3) : error 033: array must be indexed (variable "IrPlayer")
pawn Код:
CMD:ir(playerid,params[])
{
new playerid2;
if(!sscanf(params, "i", playerid2))
{
if(IrPlayer == 1) //el error
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid2, x, y, z);
SetPlayerPos(playerid, x+1,y+1,z+1);
}else return SendClientMessage(playerid, COLOR_ADM, "El usuario tiene los teleports bloqueados, pidele que se desbloquee");
} else SendClientMessage(playerid, COLOR_WARNING, "Utiliza /ir [playerid]");
return 1;
}