A few quiestions
#2

1. You can use in both (FS and GM)
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
In most cases the name says what it is doing ...
Reply


Messages In This Thread
A few quiestions - by yaron0600 - 20.03.2013, 10:35
Re: A few quiestions - by shady001 - 20.03.2013, 10:45
Re: A few quiestions - by yaron0600 - 20.03.2013, 10:49
Re: A few quiestions - by shady001 - 20.03.2013, 10:53
Re: A few quiestions - by freddy smyth - 20.03.2013, 11:16

Forum Jump:


Users browsing this thread: 1 Guest(s)