Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.54 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. new CarroObject;
  4. new Object01;
  5.  
  6. public OnGameModeInit()
  7. {
  8.     CarroObject = AddStaticVehicleEx(497,2487.50610352,-1666.76550293,13.60875034,90.00000000,-1,-1,15);
  9.     Object01 = CreateObject(983,2486.99584961,-1669.09521484,13.01950169,0.00000000,0.00000000,90.00000000); //object(fenceshit3) (1)
  10.     return 1;
  11. }
  12.  
  13. public OnPlayerCommandText(playerid, cmdtext[])
  14. {
  15.     if(!strcmp(cmdtext, "/objetoveiculo", true))
  16.     {
  17.         AttachObjectToVehicle(Object01, CarroObject, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
  18.         return 1;
  19.     }
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement