Jump to content
  • 0

Two errors


Raphy

Question

Salut, am si eu 2 erori in sistemul de admin si nu stiu cum sa le rezolv.

Erorile sunt:

F:\SA-MP Server\gamemodes\bare.pwn(21245) : error 029: invalid expression, assumed zero

F:\SA-MP Server\gamemodes\bare.pwn(21265) : error 033: array must be indexed (variable "pVipInfo")

for(new i = 0; i < MAX_PLAYERS; i++ )
		{
			if(IsPlayerConnected( i ) == 1 && pVipInfo[ i ][ Vip ] != 0 && pVipInfo[ i ][ DisableVipChat ] == 0 )
				SendClientMessage( i, 0xFCAD3DFF, string );
		}
		return 0 ;
	}
if(PlayerInfo[ playerid ][ pVipInfo ] >= 1)
	{
       new messagetext[128];
	   format(messagetext, 128, "{0059FF}({FFA600}ID:%d{0059FF})"W"["B"VIP"W"]: %s", playerid, text);
	   SendPlayerMessageToAll(playerid, messagetext);
	   return 0;
	}

Va rog frumos daca ma puteti ajuta :D

Multumesc

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.