[Pomoć] Ne radi port

Započeo Perke, Januar 05, 2011, 11:40:26 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Eh stavio sam port da ode na neki event i evo komande
if(strcmp(cmdtext, "/beachstunt", true) == 0){
SetPlayerInterior(playerid, 0);
{if(State!=PLAYER_STATE_DRIVER)
{SetPlayerPos(playerid,-1960.3262,11.1094,301);}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{SetVehiclePos(cartype,-1960.3262,11.1094,301);
SetVehicleZAngle(cartype,266.6323);}
else
{SetPlayerPos(playerid,-394.2638,1521.8910,76);}
SendClientMessage(playerid, 0xE6701C,"Teleportirani ste do /beachstunt");}
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
return 1;}

I kad ukucam tu komandu ono me prebaci tamo u SF na neko pogrešno mesto, može pomoć xD

Citat: gonss.pwn poslato Januar 05, 2011, 11:40:26 PRE PODNE
Eh stavio sam port da ode na neki event i evo komande
if(strcmp(cmdtext, "/beachstunt", true) == 0){
SetPlayerInterior(playerid, 0);
{if(State!=PLAYER_STATE_DRIVER)
{SetPlayerPos(playerid,-1960.3262,11.1094,301);}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{SetVehiclePos(cartype,-1960.3262,11.1094,301);
SetVehicleZAngle(cartype,266.6323);}
else
{SetPlayerPos(playerid,-394.2638,1521.8910,76);}
SendClientMessage(playerid, 0xE6701C,"Teleportirani ste do /beachstunt");}
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
return 1;}

I kad ukucam tu komandu ono me prebaci tamo u SF na neko pogrešno mesto, može pomoć xD

Fulio si kordinate  :D
Povratak na balkan-samp  :)  15.01.2013. 
..   


Respect : [BP]HeLoX, Correlli, [CH:FR]Djea, LordShigi, LuKsA, BloodMaster, [H]265

Ja sam kod sebe na ovaj nacin

if(strcmp(cmd, "/gotorace", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
            if(PlayerInfo[playerid][pAdmin] > 1)
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_WHITE, "KORISTITE: /gotorace [broj]");
    SendClientMessage(playerid, COLOR_GREEN, "|_______ Nasi racevi _______|");
    SendClientMessage(playerid, COLOR_GRAD1, "| 1: ls race 1
    SendClientMessage(playerid, COLOR_GRAD2, "| 2: ls race 2
    SendClientMessage(playerid, COLOR_GRAD3, "| 3: ls race 3
    return 1;
    }
    if (item == 1)
    {
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid, x_y_z);
        SetCameraBehindPlayer(playerid);
    return 1;
    }
    else if (item == 2)
    {
                    SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid, x_y_z);
        SetCameraBehindPlayer(playerid);
                    return 1;
    }
    else if (item == 3)
    {
                    SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid, x_y_z);
        SetCameraBehindPlayer(playerid);
    return 1;
    }
    }
    return 1;
    }
}



Posjetite nas i osjetite razliku
www.balkan-city.info



193.192.59.151:7788


Game monitor nije u 100% tocan tj uvjek pokaziva manje

Citat: gonss.pwn poslato Januar 05, 2011, 11:40:26 PRE PODNE
Eh stavio sam port da ode na neki event i evo komande
if(strcmp(cmdtext, "/beachstunt", true) == 0){
SetPlayerInterior(playerid, 0);
{if(State!=PLAYER_STATE_DRIVER)
{SetPlayerPos(playerid,-1960.3262,11.1094,301);}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{SetVehiclePos(cartype,-1960.3262,11.1094,301);
SetVehicleZAngle(cartype,266.6323);}
else
{SetPlayerPos(playerid,-394.2638,1521.8910,76);} //ovo ti je drugacije pogrijesio si tu
SendClientMessage(playerid, 0xE6701C,"Teleportirani ste do /beachstunt");}
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
return 1;}

I kad ukucam tu komandu ono me prebaci tamo u SF na neko pogrešno mesto, može pomoć xD
Evo poggledaj dje si pogrijesio :P
Respect: $--L84S--$, ναηιâ,,"â,,"α , BloodMaster , LuxZillo, Don_Sergio, ExtremePower, Gotti747, Gagi_

Da ja sam stavio tačne kordinate, i ono me porta u SF :S
A jedan lik je rekao da moram da menjam gm :S

Citat: gonss.pwn poslato Januar 05, 2011, 11:58:31 PRE PODNE
Da ja sam stavio tačne kordinate, i ono me porta u SF :S
A jedan lik je rekao da moram da menjam gm :S

nemoraš samo kordinate fulao :D
skype: marko.pintaric1 :)

Idi na neko drugo mesto i tu da ti se spawna..
UNBAN konacno a back sam se aaa :DLos City StatePlay posetite nas!
FORUM: www.los-samp.info

Potpis u izradi,a do tada ce ovo da stoji jbg :D