[pomoc]lift

Započeo [TVG] Brla, Maj 18, 2014, 02:37:33 PRE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

scripta koju koristim: moja
problem: znaci napravim novu komandu lift i  ikaze mi da string nevalja kako to da odredim taj string mjenjo sam neke brojeve ali nista pls pomoc hvala

CMD:liftgore 1(playerid, params[], help)
{
#pragma unused help
#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"BC:RP | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
    new string[200];
if(IsPlayerInRangeOfPoint(playerid, 10.0, 2684.30005, -1547.69995, 23.35000)) //lift gore
{
if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5)
{
MoveDynamicObject(vagos1lift,2684.30005, -1547.69995, 23.35000, 2.00);
format(string, sizeof(string), "* %s pokrece lift!", GetName(playerid));
ProxDetector(20.0, playerid, string, PROX,PROX,PROX,PROX,PROX);
SCM(playerid,-1,""PLAVA"LSPD | "BELA"Lift se podize!");
}
else return SCM(playerid,-1, ""PLAVA"[Vagosi] "BELA"Samo clanovi Vagosa!");
}
///////////////////////////liftgore
CMD:liftdole 1(playerid, params[], help)
{
#pragma unused help
#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"BC:RP | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
    new string[1000];
    if(IsPlayerInRangeOfPoint(playerid, 10.0, 2684.30005, -1547.69995, 23.35000)) //lift dole
{
if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5)
{
MoveDynamicObject(vagos1lift,2684.30005, -1547.69995, 23.35000, 2.00);
format(string, sizeof(string), "* %s pokrece lift!", GetName(playerid));
ProxDetector(20.0, playerid, string, PROX,PROX,PROX,PROX,PROX);
SCM(playerid,-1,""PLAVA"VAGOSI | "BELA"Lift se spusta!");
}
else return SCM(playerid,-1, ""PLAVA"[Vagosi] "BELA"Samo clanovi Vagosa!");
}