[Pomoc] Checkpoints

Započeo xFORCERx, Februar 02, 2013, 20:34:51 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Detaljan opis problema: Ovako, imam komandu /invitetorace s kojom pozivam ostale igrace na event koji kasnije upalim i ako su pozvani pokazu im se checkpointi.. MeÄ'utim, ja kada pozovem igraca na event i kada upalim race, on te checkpointe ne vidi... Vidjeti ih moze samo osoba koja je samu sebe pozvala( Recimo ja sebe pozovem na race i ja cu onda vidjeti checkpointe)
Skripta koju koristim: CLRP edit
Neke slike/video/kod za lakse dobivanje pomoci (npr.slika server.cfg, server log ili slično):

CMD:invitetorace(playerid, params[])
{
    new tmp[256];
    new idx;
new string[256];
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
    if(IsPlayerConnected(playerid))
    {
        if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameSage] >= 1)
{
new level;
new race[20];
new para1;
para1 = ReturnUser(tmp);
tmp = strtok(params, idx);
level = strval(tmp);
if(sscanf(params, "rd", para1, level))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameSage] >= 1)
{
SendClientMessage(playerid, COLOR_GRAD2, "Koristenje: /invitetorace [ID Igraca/Dio Imena] [Broj(1-7)]");
SendClientMessage(playerid, LIGHTRED, "|_________________________________________________________________________________|");
SendClientMessage(playerid, 0x33CCFFAA, "1.U IZRADI || 2.TourSA || 3.ForestRace || 4.Monster Ring || 5. u IZRADI || 6. CR vs. NGR");
SendClientMessage(playerid, 0x33CCFFAA, "7.LV Freeway Race || 8.Drift Race");
SendClientMessage(playerid, LIGHTRED, "|_________________________________________________________________________________|");
}
}
if(level > 8 || level < 0) { SendClientMessage(playerid, COLOR_GREY, "Nemojte ispod 0 ili preko 8!"); return 1; }
    if(IsPlayerConnected(para1))
    {
        if(para1 != INVALID_PLAYER_ID)
        {
if(level == 1)
{
    PlayerInfo[para1][pUtrka] = 1;
    race = "Cross utrku";
}
else if(level == 2)
{
    PlayerInfo[para1][pUtrka] = 1;
    race = "TourSA";
}
else if(level == 3)
{
    PlayerInfo[para1][pUtrka] = 1;
    race = "Forest Race";
}
else if(level == 4)
{
    PlayerInfo[para1][pUtrka] = 1;
    race = "Monster Ring";
}
else if(level == 5)
{
    PlayerInfo[para1][pUtrka] = 1;
    race = "Survivor";
}
else if(level == 6)
{
if(PlayerInfo[para1][pMember]==14 || PlayerInfo[para1][pLeader]==14 || PlayerInfo[para1][pMember]==16 || PlayerInfo[para1][pLeader]==16)
{
    PlayerInfo[para1][pUtrka] = 1;
    race = "CR vs. NGR";
}
else {SCM(playerid,COLOR_GRAD1,"Na ovu Utrku mozes pozvati samo Clanove/Lidere NGR-a i CR-a !");}
}
else if(level == 7)
{
    PlayerInfo[para1][pUtrka] = 1;
    race = "LVFR";
}
else if(level == 8)
{
    PlayerInfo[para1][pUtrka] = 1;
    race = "Drift Race";
}
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Pozvan si na %s | Od GS/Admina: {FFFFFF}%s", race,sendername);
SendClientMessage(para1, SVETLOPLAVA, string);
format(string, sizeof(string), "* Pozvao si %s-a na {FFFFFF} | %s.", giveplayer,race);
SendClientMessage(playerid, ZELENKASTA, string);
}
}
}
}
return 1;
}

Ne, to mi je na drugom mjestu... Ja mislim da je problem tocno ovdje u ovoj komandi

Ovo ide u pomoc u vezi pawno skriptanja :)
RESPECT :
Vegas & C++