Quote:
Originally Posted by Whizion
It's because your not checking if the player is online, you can't work with offline players.
Try this:
pawn Код:
forward GAPoint( playerid ); public GAPoint( playerid ) { new string[ 128 ]; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { format( string, sizeof( string ), "** %s Won! **", GetName( i ) ); SendClientMessageToAll(YELLOW, string); } } }
Also i think this is pointless, because players will 'win' purely by being just online (and it will spam the chat).
|
Yea well that is just a small code i wrote i wouldn't paste the whole code its long and it would be pointless. But thanks for the reply i will try with that connected

.