11.07.2011, 19:05
Quote:
Add this at OnPlayerDisconnect
Код:
new discstring[128]; new sendername[MAX_PLAYER_NAME]; switch(reason) { case 0: format(discstring, sizeof(discstring), "* %s has left the server. (Timeout)", sendername); case 1: format(discstring, sizeof(discstring), "* %s has left the server. (Leaving)", sendername); case 2: format(discstring, sizeof(discstring), "* %s has left the server. (Kicked)", sendername); } |
@MeNMyselv,
If you use WoodPecker's code then you need calculate the most higher string of these sentences like this, 24 as the limit of the player name + the higher string of these sentences. That would "* %s has left the server. (Timeout)" so, if you calculate it, it's 24+33=67 string value, so you need to put another one aswell so it's 68, the less you use is the better, just mentioning.
About the spawn car, there are plany filterscrips like that, just simply search them.