INSANE_25_ICON 0 Odesláno: 6. Září, 2014 Share Odesláno: 6. Září, 2014 #include "a_samp" public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/tmajak", cmdtext, true, 10) == 0) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xff0000ff,"Nesedíš v aute!"); new myobject1 = CreateObject(19310,0,0,-1000,0,0,0,100); AttachObjectToVehicle(myobject1, GetPlayerVehicleID(playerid), 2498.87377,-1668.23950,14.75253,-13.499999,0.000000,0.000000); SendClientMessage(playerid,0xff0000ff,"[ ! ] {ffffff} Pridal si si {33ccff} Taxi Majak"); return 1; } if (strcmp("/pmajak", cmdtext, true, 10) == 0) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xff0000ff,"Nesedíš v aute!"); new myobject2 = CreateObject(19420,0,0,-1000,0,0,0,100); AttachObjectToVehicle(myobject2, GetPlayerVehicleID(playerid), 2493.60864,-1663.3404,14.81009,-13.499999,0.000000,0.000000); SendClientMessage(playerid,0xff0000ff,"[ ! ] {ffffff} Pridal si si {33ccff} Policajne majaky"); return 1; } return 0; } Všetko v pohode len attachi sa mi neukažu prosím help oby dva majaky sa maju ukazať na streche auta. Prosím pomoc Link to comment Share on other sites More sharing options...
0 AdoUMF 0 Odesláno: 6. Září, 2014 Share Odesláno: 6. Září, 2014 Urobit nove chces ? Link to comment Share on other sites More sharing options...
0 INSANE_25_ICON 0 Odesláno: 7. Září, 2014 Author Share Odesláno: 7. Září, 2014 Urobit nove chces ? Toto som nepochopil Nechcem urobiť nove len sa mi nezobrazuju attachi tak preto potrebujem pomoc Link to comment Share on other sites More sharing options...
0 AdoUMF 0 Odesláno: 7. Září, 2014 Share Odesláno: 7. Září, 2014 daj si to ako 1. vo fs skus 2.mozno mas zle suradnice Link to comment Share on other sites More sharing options...
0 PinkSmoothie 104 Odesláno: 7. Září, 2014 Share Odesláno: 7. Září, 2014 mas tam zle suradnice v ATTACHOBJECTTOVEHICLE, tam mas dat o kolko metrov chces posunut objekt od stredu auta. takze stred auta je 0, 0, 0 a ked ho chces dat na strechu tak to bude nejako 0, 0, 0.3 (x, y, z). Link to comment Share on other sites More sharing options...
0 INSANE_25_ICON 0 Odesláno: 8. Září, 2014 Author Share Odesláno: 8. Září, 2014 mas tam zle suradnice v ATTACHOBJECTTOVEHICLE, tam mas dat o kolko metrov chces posunut objekt od stredu auta. takze stred auta je 0, 0, 0 a ked ho chces dat na strechu tak to bude nejako 0, 0, 0.3 (x, y, z). Nieje na to nejaky program ? Link to comment Share on other sites More sharing options...
Dotaz
INSANE_25_ICON 0
Všetko v pohode len attachi sa mi neukažu prosím help oby dva majaky sa maju ukazať na streche auta. Prosím pomoc
Link to comment
Share on other sites
5 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now