agregar texto fs y sacararmas
#3

mira el segundo de 10 pero el primero n odice en ningun lugar oneplayer... mira te apso el pwn del fs d edb
Код:
#include <a_samp>

public OnFilterScriptInit()
{
	print(" Anti-Driveby succesfuly loaded.");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

new PlayerWeapon[MAX_PLAYERS][12];
new PlayerWeaponAmmo[MAX_PLAYERS][12];

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	if (newstate==PLAYER_STATE_DRIVER){
	 	for(new i=0;i<12;i++){
			GetPlayerWeaponData(playerid, i, PlayerWeapon[playerid][i], PlayerWeaponAmmo[playerid][i]);
		}
	  ResetPlayerWeapons(playerid);
	}
	if (newstate==PLAYER_STATE_ONFOOT && oldstate==PLAYER_STATE_DRIVER){
	 	for(new i=0;i<12;i++){
	 	  GivePlayerWeapon(playerid, PlayerWeapon[playerid][i], PlayerWeaponAmmo[playerid][i]);
		}
	}
	return 1;
}
Reply


Messages In This Thread
agregar texto fs y sacararmas - by gian_pino - 23.02.2010, 14:08
Re: agregar texto fs y sacararmas - by differo - 23.02.2010, 14:41
Re: agregar texto fs y sacararmas - by gian_pino - 23.02.2010, 15:12
Re: agregar texto fs y sacararmas - by TheChaoz - 23.02.2010, 15:21
Re: agregar texto fs y sacararmas - by gian_pino - 23.02.2010, 15:26
Re: agregar texto fs y sacararmas - by gian_pino - 23.02.2010, 15:27
Re: agregar texto fs y sacararmas - by gian_pino - 23.02.2010, 15:30
Re: agregar texto fs y sacararmas - by gian_pino - 23.02.2010, 15:31
Re: agregar texto fs y sacararmas - by Zamaroht - 23.02.2010, 15:45
Re: agregar texto fs y sacararmas - by gian_pino - 23.02.2010, 15:57

Forum Jump:


Users browsing this thread: 1 Guest(s)