[HELP]Error 010 , Error 029 , Warning 203
#1

Help me Pliss , I'm Newbie

Error :
PHP код:
C:\Users\User\Music\move.pwn(7) : error 010invalid function or declaration
C
:\Users\User\Music\move.pwn(10) : error 029invalid expressionassumed zero
C
:\Users\User\Music\move.pwn(25) : warning 203symbol is never used"S@@_OnPlayerCommandText"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Script :
PHP код:
#include <a_samp>
#include <YSI\y_ini>
new gate;
//=====================================================================================//
gate == CreateObject(9752719.65112, -2405.5127014.10740,   0.000000.0000090.00000);
public 
OnFilterScriptInit()
public 
OnPlayerCommandText(playeridcmdtext[])
{
if (
strcmp("/opengate"cmdtexttrue10) == 0)
{
         
MoveObject(Gate,2719.65112, -2397.1525914.107400.97);
         
SetTimer("gateclose"50000);
}
return 
1;
}
forward gateclose();
public 
gateclose()
{
     
MoveObject(gate2719.65112, -2405.5127014.107400.97);
     return 
1;

Reply
#2

PHP код:
gate CreateObject(9752719.65112, -2405.5127014.10740,   0.000000.0000090.00000);
public 
OnFilterScriptInit()
{
    return 
1;

Do not use == if it's not in an if function. Example: if(GetPlayerMoney(playerid) == 100).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)