Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- new scaun[MAX_VEHICLES];
- new vehicle[MAX_PLAYERS];
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Scaun Fantoma by Gireada");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- main()
- {
- print("\n----------------------------------");
- print(" Scaun Fantoma by Gireada");
- print("----------------------------------\n");
- }
- CMD:scaun(playerid, params[])
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x,y,z);
- vehicle[playerid] = CreateVehicle(471, x, y, z, 0, 0, 1, 999999);
- PutPlayerInVehicle(playerid, vehicle[playerid], 0);
- new vehid = GetPlayerVehicleID(playerid);
- LinkVehicleToInterior(vehid, 1);
- scaun[vehid] = CreateObject(1369, 0.00, 0.00, 0.18, 0.00, 0.00, 180.00);
- AttachObjectToVehicle(scaun[vehid], vehid, 0.00, 0.00, 0.18, 0.00, 0.00, 180.00);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement