Advertisement
jlalt

ewqw

Sep 12th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.58 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. static playersconnected;
  4.  
  5. public OnPlayerConnect(playerid)
  6. {
  7.     SendClientMessage(playerid, 0xFF0037FF," Welcome To Djamel's Test Server");
  8.     playersconnected++;
  9.     new string[50];
  10.     format(string, sizeof string ,"There are currenty %d peopel in the server.", playersconnected);
  11.     SendClientMessageToAll(0x2C5766AA,string);
  12. }
  13.  
  14. public OnPlayerDisconnect(playerid, reason)
  15. {
  16.     playersconnected--;
  17.     new String[50];
  18.     format(String, sizeof String ,"There are currenty %d peopel in the server.", playersconnected);
  19.     SendClientMessageToAll(0x2C5766AA,String);
  20.     return 1;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement