- 0
Problema /goto
-
Similar Content
-
- 1 answer
- 237 views
-
- 3 answers
- 355 views
-
- 3 replies
- 403 views
-
- 1 reply
- 353 views
-
- 1 answer
- 203 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
H3AtonN
Problema intalnita (descriere): Am pus pe gm meu,comanda /gotols,/gotosf,/gotolv.. Dar,daca dau /gotols ma da acolo unde am pus eu,doar ca nu se vede nimic,puteti vedea in imagine.. ce sa--i fac.. si la gotosf,si la gotolv tot asa e..
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):
if(strcmp(cmd, "/gotols", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1529.3167,-1679.2460,13.3828);
}
else
{
SetPlayerPos(playerid, 1529.3167,-1679.2460,13.3828);
}
SendClientMessage(playerid, COLOR_WHITE, "Te-ai teleportat cu succes!");
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid,1);
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Nu ai acces la aceasta comanda!");
}
}
return 1;
}
Imagini / Video (optional): Mai jos.
Ati incercat sa rezolvati singur?:
Link to comment
Share on other sites
5 answers to this question
Recommended Posts