07.01.2013, 20:57
(
Последний раз редактировалось armins; 08.01.2013 в 13:23.
)
hello , im new here and im beginer of scripting.
I scripted a movable gate.When i compile there is an errors.I dont know what i should to do.
Can anyone help me to fix this problems please ?
Here is the script: (sorry i dont know put pawn code ) :
When i compile there is errors :
Please help to solve every problem.Sory for my bad english.
I scripted a movable gate.When i compile there is an errors.I dont know what i should to do.
Can anyone help me to fix this problems please ?
Here is the script: (sorry i dont know put pawn code ) :
PHP код:
{
if(strcmp(cmd, "/otvori1", true) == 0)
MoveObject(gate1,999.79998779297, -644.90002441406, 121)
SendClientMessage(playerid,COLOR_LIGHTRED,"Otvarate kapiju Velicanstvenog")
return 1;
}
{
if(strcmp(cmd,"/zatvori1",true) == 0)
MoveObject(gate1,999, -645.59997558594, 120.09999847412)
SendClientMessage(playerid,COLOR_LIGHTRED,"Zatvorili ste kapiju.Hvala")
return 1 ;
}
PHP код:
C:\Program Files\Rockstar Games\GTA San Andreas\ravens\gamemodes\larp.pwn(26381) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\ravens\gamemodes\larp.pwn(26383) : warning 202: number of arguments does not match definition
C:\Program Files\Rockstar Games\GTA San Andreas\ravens\gamemodes\larp.pwn(26388) : warning 225: unreachable code
C:\Program Files\Rockstar Games\GTA San Andreas\ravens\gamemodes\larp.pwn(26390) : warning 202: number of arguments does not match definition
C:\Program Files\Rockstar Games\GTA San Andreas\ravens\gamemodes\larp.pwn(26395) : warning 225: unreachable code
C:\Program Files\Rockstar Games\GTA San Andreas\ravens\gamemodes\larp.pwn(26395) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase