Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- static playersconnected;
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, 0xFF0037FF," Welcome To Djamel's Test Server");
- playersconnected++;
- new string[50];
- format(string, sizeof string ,"There are currenty %d peopel in the server.", playersconnected);
- SendClientMessageToAll(0x2C5766AA,string);
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- playersconnected--;
- new String[50];
- format(String, sizeof String ,"There are currenty %d peopel in the server.", playersconnected);
- SendClientMessageToAll(0x2C5766AA,String);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement