03.09.2011, 19:01
nvm..........
forward SendAdminMessage(color, string[]);
public SendAdminMessage(color, string[])
{
if(GetPlayerSkin(i) != 0)
{
SendClientMessage(i, color, string);
}
}
public SendAdminMessage(color, string[])//<-- Function Call { if(GetPlayerSkin(i) != 0)//<-- its not going to get 'i' either ! { SendClientMessage(playerid, color, string); //<-- so you KNOW its not going to have 'PLAYERID' either.. } } |
for(new i;i<MAX_PLAYERS;i++)
{
if(GetPlayerSkin(i) != 0)
{
SendClientMessage(i, color, string);
}
}
no offense bro... but if you 'Give' these people the answers .. they are NEVER going to learn, they are literally going to copy and paste every little thing, and then royally screw themselves over later on down the run...
a little 'searching' is going to help them 'appreciate' the knowledge. |