Electric Gates Script Problem!
#1

hey. i was trying to make an electric Gate but i faild at some point.. and i cant understand whats the issue, if you could help me that would be grate.

Here is the script i wrote:

Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Opengate", cmdtext, true, 10) == 0)
{
moveobject(968, 1544.70703125, -1630.7634277344, 13.095315933228, 0, 359.49487304688, 269.87365722656);
// change positions where u want to move gates
}
if(strcmp("/Closegate", true) == 0) //
{
moveobject(968, 1544.7027587891, -1630.9697265625, 13.145315170288, 0, 269.17498779297, 269.87536621094);
//
return 1;
}
return 0;
}

Heres the Errors i get:

Quote:

C:\my stuff\my games\GTA san nadreas\GTA San Andreas\SAMP\gamemodes\E Gate 1.pwn(135) : error 017: undefined symbol "moveobject"
C:\my stuff\my games\GTA san nadreas\GTA San Andreas\SAMP\gamemodes\E Gate 1.pwn(13 : error 035: argument type mismatch (argument 2)
C:\my stuff\my games\GTA san nadreas\GTA San Andreas\SAMP\gamemodes\E Gate 1.pwn(140) : error 017: undefined symbol "moveobject"
C:\my stuff\my games\GTA san nadreas\GTA San Andreas\SAMP\gamemodes\E Gate 1.pwn(142) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

I Would be more the gratefull for help


If someone could answer its good, but if someone could give me the way how to do it + the answer it will be even better.

i cant understand i from the tut's
So if can someone put the script here, with Locations, like tell me what to write and where, so id understand it evrything.
Thanks.
Reply


Messages In This Thread
Electric Gates Script Problem! - by sammypiv - 28.03.2010, 13:26
Re: Electric Gates Script Problem! - by [LSR]State_Trooper - 28.03.2010, 13:28
Re: Electric Gates Script Problem! - by sammypiv - 28.03.2010, 13:34
Re: Electric Gates Script Problem! - by [LSR]State_Trooper - 28.03.2010, 13:35
Re: Electric Gates Script Problem! - by sammypiv - 28.03.2010, 13:46
Re: Electric Gates Script Problem! - by shotyoudie - 28.03.2010, 13:47
Re: Electric Gates Script Problem! - by sammypiv - 28.03.2010, 13:58
Re: Electric Gates Script Problem! - by [LSR]State_Trooper - 28.03.2010, 13:59
Re: Electric Gates Script Problem! - by anumaz - 28.03.2010, 14:00
Re: Electric Gates Script Problem! - by [LSR]State_Trooper - 28.03.2010, 14:02

Forum Jump:


Users browsing this thread: 5 Guest(s)