- 0
Problema comanda /gotols
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Stefan112
Nush ce are nu merge si am facut si alta si tot la fel
if(strcmp(cmd, "/gotols", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJailed] == 1)
{
// //SetPlayerSkin(playerid, 62);
// SetPlayerWantedLevel(playerid, 0);
// SetPlayerInterior(playerid, 0);
// SetPlayerPos(playerid,1773.7419,-1572.5045,1735.9430);
// new randi;
// SetPlayerInterior(playerid, 6);
// randi = random(sizeof(JailqSpawns));
SendClientMessage(playerid, COLOR_2RED, "Nu te poti teleporta atata timp cat esti in INCHISOARE!");
return 1;
}
if (PlayerInfo[playerid][pAdminServer] >= 1 || PlayerInfo[playerid][pHelperLevel] >= 2)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
}
SendClientMessage(playerid, COLOR_GRAD1, " Ai fost teleportat!");
// SendClientMessage(playerid, COLOR_2RED, "Nu abuza de /goto, iei remove!");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, 256, "{F3FF02}%s s-a teleportat in Los Santos", sendername);
ABroadCast(COLOR_YELLOW,string,1);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
}
else
{
SendClientMessage(playerid, COLOR_RED, " Nu esti autorizat sa folosesti aceasta comanda!");
}
}
return 1;
}
PS:gireada ai zis de acum o sapt ca-mi faci si mie gamemode-ul pe dini dar nu ai mai intrat
Scripting for $$ .
CONTACT: [email protected] .
8 answers to this question
Recommended Posts