20.03.2013, 10:45
1. You can use in both (FS and GM)
2.
In most cases the name says what it is doing ...
2.
pawn Код:
public OnPlayerConnect(playerid)
//this code will be executed when player connects to server
public OnPlayerDisconnect(playerid, reason)
//this code will be executed when player disconnects from server
public OnPlayerSpawn(playerid)
//this code will be executed when player respawn
public OnPlayerDeath(playerid, killerid, reason)
//this code will be executed when player dies
public OnVehicleSpawn(vehicleid)
//this code will be executed when vehicle spawn
public OnVehicleDeath(vehicleid, killerid)
//this code will be executed when vehicle "dies"
public OnPlayerText(playerid, text[])
//this code will be executed when player time some text in "T" (the text should not begin with "/" if it begins whit "/" is executed : OnPlayerCommandText