17.06.2010, 06:10
Quote:
Originally Posted by craponnaruto
I also want to know how to take away weapons when exiting a deathmatch area.
|
So all what you need is when someone exit DM e.g. /exitdm he will be teleported to a place with 100% health and armour or however you like so you need to GetPlayerWeapon from Player and this is easy.. Take a look at this basic code
Code:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/exitdm", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,1415.11,1247.74,15.0); ResetPlayerWeapons(playerid); return 1; } return 0; }
Hope helped you