Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Anti Desert Eagle Driveby By Noss*
- #include <a_samp>
- public OnFilterScriptInit()
- {
- print(" ");
- print(" Anti Desert Eagle Driveby");
- print(" By Noss*");
- print(" ");
- }
- public OnFilterScriptExit()
- {
- print(" ");
- print(" Anti Desert Eagle Driveby");
- print(" By Noss*");
- print(" ");
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- if(newstate==PLAYER_STATE_PASSENGER)
- {
- new gun,tmp;
- GetPlayerWeaponData(playerid,4,gun,tmp);
- #pragma unused tmp
- if(gun)SetPlayerArmedWeapon(playerid,gun);
- else SetPlayerArmedWeapon(playerid,0);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement