Jump to content
  • 0

Ajutor numi iese o comanda :(


onix09

Question

am incercat sa fac si eu o comanda cu FastPWN CmD un program helper dar...nu imi iesie tot da cateva erori

Daca se poate sa imi faca si mei cineva un FS in care sa fie comanda de teleportare

if(strcmp(cmd, "/jump", true) == 0)

{

SetPlayerPos(playerid,1546, -1353, 330);

GivePlayerWeapon(playerid,46, 1);

SendClientMessage(playerid,,"Sari pe rampa!");

return 1;

}

Ajutatima!!!! :(

9zZndmN.png
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

if(strcmp(cmd, "/jump", true) == 0)
{
    SetPlayerPos(playerid,X, Y, Z); //coordonatele
    GivePlayerWeapon(playerid,46, 1);
    SendClientMessage(playerid, COLOR_RED,  "Sari pe rampa!");
    return 1;
}
Daca nu stii sa pui coordonatele, du-te pe server in locul unde vrei sa se teleporteze si scrie /save apoi intri in My Documents\GTA San Andreas User Files\SAMP si vei gasi un fisier savedpositions.txt In el o sa ai o linie de genul:
AddStaticVehicle(ID, X, Y, Z, etc);
sau
AddPlayerClass(ID, X, Y, Z, etc);

Tu iei din linia aia doar X, Y si Z.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Gata am rezolvat signur...era porblemla send client message nu era scris bine...am rezolvat singur dar va multumesc oricum...nici nu ma uitatm la ce zic erorile si desta nu stiam ;))

omg, si daca nu te uitati de ce ai mai postat aici?:)))) intai uitate, vezi ce eroare da si apoi postezi aici daca nu stii s-o repari

Lil_Shean

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.