Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- new CarroObject;
- new Object01;
- public OnGameModeInit()
- {
- CarroObject = AddStaticVehicleEx(497,2487.50610352,-1666.76550293,13.60875034,90.00000000,-1,-1,15);
- Object01 = CreateObject(983,2486.99584961,-1669.09521484,13.01950169,0.00000000,0.00000000,90.00000000); //object(fenceshit3) (1)
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/objetoveiculo", true))
- {
- AttachObjectToVehicle(Object01, CarroObject, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement