Teleport cu masina
Sus la script punem:
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);Si asta o sa o pui sub:
public OnPlayerCommandText(playerid, cmdtext[])
if(strcmp(cmdtext, "/comanda", true)==0)
{
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
return SetVehiclePos(vehicleid,XX,YY,ZZ), //coordonate
GameTextForPlayer(playerid, "~r~Text!", 5000, 5); // textul asta il v-a spune cand te vei teleporta
}
SetPlayerPos(playerid,XX,YY,ZZ); //coordonate
GameTextForPlayer(playerid, "~b~Text!", 5000, 5); // textul asta il v-a spune cand te vei teleporta
return 1;
}Teleport simplu Acesta este cel mai simplu teleport dupa parerea mea sub
public OnPlayerCommandText(playerid, cmdtext[])pui:
if(strcmp(cmdtext, "/comanda", true)==0)
{
SetPlayerPos(playerid, XX,YY,ZZ);
GameTextForPlayer(playerid, "Text!", 5000, 5);
return 1;
}Dictionar
~b~ = albastru
~r~ = rosu
~w~ = alb
Mihai s-a nascut intr-o cabana construita de el.
Mihai a omorat 50 de teroristi din 2 gloante.Primul a fost de avertizare.
Mihai poate sa isi faca poze cu telefonul fix.
Mihai a raspuns la un apel pierdut.
Singura femeie care si-a permis sa faca glume despre Mihai a fost Elodia, de aia nu mai este.
Cand Mihai iti arata degetul nu o face ca sa te injure... doar iti arata cate secunde mai ai de trait!
You are not allowed to view links. Register or Login to view.
You are not allowed to view links. Register or Login to view. You are not allowed to view links. Register or Login to view.



