28.03.2010, 13:26
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:
Heres the Errors i get:
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.
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; } |
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. |
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.