Započeo zglj
•16. Jan. 2012.• ZaključanoPOMOC problem sa kapijom.
1,051
pregleda
14
postova
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
117
Postovi:
40
Teme:
Pridružio se:Jul 2011
16. Jan. 2012.
Skripta koju koristim:moja
Detaljan opis problema:kako da napraviim da se ne rotira sve uradim ono opet ccc sta da radim 5 dana pravim nece :S
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Detaljan opis problema:kako da napraviim da se ne rotira sve uradim ono opet ccc sta da radim 5 dana pravim nece :S
Dio skripte:
grove = CreateObject(980, 2461.7944335938, -1658.5867919922, 15.078079223633, 0, 0, 270); //groove zatvorenaif (strcmp("/groovestreet", cmdtext, true, 10) == 0)
{
if (PlayerToPoint(15, playerid,2461.7944335938, -1658.5867919922, 15.078079223633)) //zatvoreno
if(PlayerInfo == 18 || PlayerInfo == 18)
{
MoveObject(grove,2461.6262207031, -1670.1622314453, 15.268905639648, 1.5); //otvoreno
SetTimer("grovezatvori", 10000, 0);
SendClientMessage(playerid, COLOR_BLUE,"Otvorili ste kapiju groova.");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima daljinski i kapiju Groove Streeta.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena.");}
}Neke slike/video za lakse dobivanje pomoci(neobavezno):
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
256
Postovi:
44
Teme:
Pridružio se:Jan. 2010
16. Jan. 2012.
KechO MacaN >3 wrote on January 16, 2012, 2:06 pm:
Skripta koju koristim:moja
Detaljan opis problema:kako da napraviim da se ne rotira sve uradim ono opet ccc sta da radim 5 dana pravim nece :S
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Detaljan opis problema:kako da napraviim da se ne rotira sve uradim ono opet ccc sta da radim 5 dana pravim nece :S
Dio skripte:
grove = CreateObject(980, 2461.7944335938, -1658.5867919922, 15.078079223633, 0, 0, 270); //groove zatvorenaif (strcmp("/groovestreet", cmdtext, true, 10) == 0)
{
if (PlayerToPoint(15, playerid,2461.7944335938, -1658.5867919922, 15.078079223633)) //zatvoreno
if(PlayerInfo == 18 || PlayerInfo == 18)
{
MoveObject(grove,2461.6262207031, -1670.1622314453, 15.268905639648, 1.5); //otvoreno
SetTimer("grovezatvori", 10000, 0);
SendClientMessage(playerid, COLOR_BLUE,"Otvorili ste kapiju groova.");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima daljinski i kapiju Groove Streeta.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena.");}
}Neke slike/video za lakse dobivanje pomoci(neobavezno):
A da prvo koristis Search ??
Evo ti link za to http://balkan-samp.com/forum/index.php?topic=34843.0
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
256
Postovi:
44
Teme:
Pridružio se:Jan. 2010
16. Jan. 2012.
Pokusaj ponovo..Jer moras i pod MoveObject stavit rotacione kodove..Mislim rotX,rotY i rotZ.....To stavljas iza brzine..Tako da treba izgledat ovako
MoveObject(kapija,309.799987, -1554.099975, 37.799999, 0.8 ,0 ,0 ,90.027465);...Valjda si me skontao 😛16. Jan. 2012.
Stavi komandu ovako:
if (strcmp("/groovestreet", cmdtext, true, 10) == 0)
{
if (PlayerToPoint(15, playerid,2461.7944335938, -1658.5867919922, 15.078079223633)) //zatvoreno
if(PlayerInfo == 18 || PlayerInfo == 18)
{
MoveObject(grove,2461.6262207031, -1670.1622314453, 15.268905639648, 1.5,0, 0, 270); //otvoreno
SetTimer("grovezatvori", 10000, 0);
SendClientMessage(playerid, COLOR_BLUE,"Otvorili ste kapiju groova.");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima daljinski i kapiju Groove Streeta.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena.");}
}Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
117
Postovi:
40
Teme:
Pridružio se:Jul 2011
16. Jan. 2012.
samo zamjenio komandu tu i warning
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
16. Jan. 2012.
KechO MacaN >3 wrote on January 16, 2012, 3:17 pm:
samo zamjenio komandu tu i warning
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
Trebalo bi da je sve ok. vidis parametre koji idu: http://wiki.sa-mp.com/wiki/MoveObject tako da su tu svi parametri
A mozda je zato sto nisi pod:
public grovezatvori promenio u:
MoveObject(grove,2461.7944335938, -1658.5867919922, 15.078079223633, 1.5,0, 0, 270); A i ubaci sve includ-ove ponovo ako nebude htelo. Ako opet nece postaj ovde zajedno sa linijama koje su
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
117
Postovi:
40
Teme:
Pridružio se:Jul 2011
16. Jan. 2012.
promjenio sam i opet warning
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(4076) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(4076) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(4076) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Warnings.
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(4076) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(4076) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(4076) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
C:\Documents and Settings\kk\Desktop\sarajevO rol3pLAYYYYYYYYYYYYYYYyyyx8888\gamemodes\sarajevo.pwn(21213) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Warnings.
16. Jan. 2012.
DJeronimo wrote on January 16, 2012, 3:39 pm:
i mene to yebe stalno 😠 😕 😢 skinuo sve inc sve dobro cim stavim na movedynamicobject to za rotaciju warninzi ispadnu -.-
A skinuo include za 0.3d? http://www.2shared.com/file/WCNvvXnv/streamer_plugin_v2_6_r26.html
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava