- 0
Problema Teleport
-
Similar Content
-
- 6 replies
- 279 views
-
- 1 answer
- 433 views
-
- 4 replies
- 247 views
-
- 3 answers
- 402 views
-
- 3 replies
- 200 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
MACKS
Vreau sa pun aceasta comanda in GameModul meu dar nu stiu unde :
if(strcmp(cmdtext,"/police",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Welecom to Police Sation",4000,6);
return SetVehiclePos(vehicleid,1554.7692,-1676.1294,16.1953);
}
SetPlayerPos(playerid,1554.7692,-1676.1294,16.1953);
GameTextForPlayer(playerid,"Welecom to Police Sation",4000,6);
return 1;
}
-Am incercat sa o pun la coada GM-ului, dar cand apas F5 se blocheaza cateva secunde, iar dupa aceea nu se intampla nimic.
Daca comanda nu este buna, va rog sa imi spuneti cum ar trebui creata o comanda teleport.Multumesc.
2 answers to this question
Recommended Posts