Jump to content

Question

Posted

Salutare.

Cum pot face check point cand un player tasteaza o comanda.de Ex: /takeilegaljob.

Adica cand playerul tasteaza /takeilegaljob sa ii marcheze pe navigator locul unde este pus check point-ul.

Ma puteti ajuta?

Respecta Si Vei Fi Respectat !!!

6 answers to this question

Recommended Posts

Posted

Faci asa

if(strcmp(cmdtext, "/comanda dorita", true) == 0)
    {
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0); //Schimba cu coordonatele tale
return 1;
}

Si la public OnPlayerEnterCheckpoint(playerid) pui ce vrei sa efectueze cind intri in check point

lol

Posted

ma nu inteleg fami u cum ar trebui sa adug ca sa imi dispara check pointul cand un player intra in el.te rog ca nu stiu nu imi pot da seama cum.Nu am mai facut nici odata din astea si din cauza asta :D

Respecta Si Vei Fi Respectat !!!

Posted

Ma tiam zis tot mura n gura trebuie doar sa pui la locul lui tot

Asta o pui la public Onplayercommandtext
if(strcmp(cmdtext, "/cmd", true) == 0)
    {
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0); //Schimba cu coordonatele tale
	return 1;
	}
Asta o pui la
public OnPlayerEnterCheckpoint(playerid)
{

DisablePlayerCheckpoint(playerid);

lol

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.