[Help]Gate - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]Gate (
/showthread.php?tid=329654)
[Help]Gate -
undeR. - 29.03.2012
I saw too many topics about this problem, but no-one of them helped me :/
Can u fix this and show how u fix that, thanks.
Код:
if (strcmp("/raceo", cmdtext, true, 10) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 2)
{
MoveDynamicObject( racegate2 ,-1266.6687011719,-566.58264160156,11.663707733154, 1)//otvoreno
}
return 1;
}
Код:
racegate2 = CreateDynamicObject(991,-1266.6687011719,-566.58264160156,13.313694000244,0,0,0)//zatvorena
this is code from 0.3c mode, i compiled it with 0,3d pawno and gates wont open
Re: [Help]Gate -
NAPSTER21 - 29.03.2012
read my reply in this topic and see if it helps
https://sampforum.blast.hk/showthread.php?tid=329355
Re: [Help]Gate -
undeR. - 29.03.2012
Код:
if (strcmp("/raceo", cmdtext, true, 10) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 2)
{
MoveDynamicObject( racegate2 ,-1266.6687011719,-566.58264160156,11.663707733154, 3.5000, 0.0000, 0.0000)//otvoreno
}
return 1;
}
is this correct?