[Pomoc]Admin kuca

Započeo Dane, Januar 12, 2012, 13:32:30 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:NX
Detaljan opis problema:Pa znači napravio sam komandu /adminkuca da se porta do nje ali se porta na most gdje sam pogriješio u koordinantama?
Dio skripte:CMD:adminkuca(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    {
if (PlayerInfo[playerid][pAdmin] >= 3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 142,-2654.5962,-216.5740,4.2721,176.5065);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 142,-2654.5962,-216.5740,4.2721,176.5065);
}
SendClientMessage(playerid, COLOR_GRAD1, "   Portan si !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Nisi ovlasten!");
}
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Poslednja Izmena: Januar 12, 2012, 13:34:26 POSLE PODNE od |DE| Dane

SetPlayerPos(playerid, 142,-2654.5962,-216.5740,4.2721,176.5065);

Citat: [TG]$--L84S--$ poslato Januar 12, 2012, 13:37:30 POSLE PODNE
SetPlayerPos(playerid, 142,-2654.5962,-216.5740,4.2721,176.5065);

Evo ga napravio sam:
CMD:adminkuca(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    {
if (PlayerInfo[playerid][pAdmin] >= 3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -2654.5,-216.5,4.2);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, -2654.5,-216.5740,4.2721);
}
SendClientMessage(playerid, COLOR_GRAD1, "   Portan si !");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Nisi ovlasten!");
}
}
return 1;
}


Može lock!