calin1996
-
Posts
177 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by calin1996
-
-
[pawn]if(strcmp(cmd, "/gotoevent1", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -1401.7799,-251.1021,1043.5391);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, -1401.7799,-251.1021,1043.5391);
}
SendClientMessage(playerid, COLOR_GRAD1, " Ai fost teleportat !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nu esti autorizat pentru folosirea comenzii !");
}
}
return 1;
}[/pawn]
Nu apar masini daca le aduc la mine dupa ce dau comanda,ce sa fac?
Problema comanda
in Arhivă probleme
Posted
UP!