daily pastebin goal
42%
SHARE
TWEET

[Tutorial] Texturarea obiectelor 2/2

a guest May 19th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2.  
  3. new t1;
  4. new t2;
  5. new t3;
  6.  
  7. public OnPlayerConnect(playerid)
  8. {
  9.     return 1;
  10. }
  11.  
  12. public OnPlayerCommandText(playerid, cmdtext[])
  13. {
  14.     if (strcmp("/test", cmdtext, true, 10) == 0)
  15.     {
  16.     t1 = CreateObject(8397, 2044.39441, 1343.79321, 19.89844,   356.85840, 0.00000, 3.14159);
  17.     SetObjectMaterial(t1, 0, 8486, "ballys02" , "walltiles_128" , 0xFFFFFFFF);
  18.     t2 = CreateObject(8397, 2044.33508, 1316.21667, 19.89844,   356.85840, 0.00000, 3.14159);
  19.     SetObjectMaterial(t2, 0, 8486, "ballys02" , "ws_floortiles4" , 0xFFFFFFFF);
  20.     t3 = CreateObject(8397, 2044.47839, 1371.02417, 19.89844,   356.85840, 0.00000, 3.14159);
  21.     SetObjectMaterial(t3, 0, 8486, "ballys02" , "greyground256128" , 0xFFFFFFFF);
  22.     return 1;
  23. }
  24.     return 0;
  25. }
RAW Paste Data
Top