Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Andromeda in de lucht voor jump
- #define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- new jump;
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Andromeda jump");
- print("--------------------------------------\n");
- jump = CreatePickup(371, 3, 1488.911987, -1720.625976, 8.232694, -1);
- AddStaticVehicleEx(421,1543.02819824,-1706.39392090,3206.59277344,0.00000000,-1,-1,15); //Auto
- AddStaticVehicleEx(421,1543.14746094,-1715.32324219,3208.65356445,0.00000000,-1,-1,15); //Auto
- AddStaticVehicleEx(421,1543.08557129,-1698.95043945,3204.87524414,0.00000000,-1,-1,15); //Auto
- CreateObject(14553,1542.70593262,-1710.50146484,3208.59326172,0.00000000,0.00000000,0.00000000); //Het vliegtuig
- CreateObject(14548,1542.70507812,-1710.50097656,3208.59326172,0.00000000,0.00000000,0.00000000); //Vliegtuig van binnen
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/jump", cmdtext, true, 10) == 0)
- {
- SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
- GivePlayerWeapon(playerid, 46, 1);
- GivePlayerWeapon(playerid, 45, 1);
- return 1;
- }
- return 0;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == jump) {
- SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
- GivePlayerWeapon(playerid, 45, 1);
- }
- if(pickupid == 371) {
- SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
- GivePlayerWeapon(playerid, 45, 1);
- }
- return 1;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement