Where is the problem ?!!! (/handsup)
#1

}
if (strcmp("/HandsUp1", cmdtext, true, 10) == 0)
{
ApplyAnimation(playerid,"ROB_BANK","SHP_HandsUp_Sc r",4.1,1,1,1,1,0);
return 1;
}

thats the code...

the problem is
(140)error 010: invalid function or declaration (if (strcmp("/HandsUp1", cmdtext, true, 10) == 0) line 140)
(143)error 010: invalid function or declaration (return 1; line 143)

please help...
Reply
#2

You didn't leave that closing bracket above it there did you?
pawn Код:
if (!strcmp(cmdtext,"/handsup1",true))
{
     ApplyAnimation(playerid,"ROB_BANK","SHP_HandsUp_Sc r",4.1,1,1,1,1,0);
     return 1;
}
Reply
#3

i'm stupid
Reply
#4

PHP код:
if(strcmp(cmd"/handsup"true) == 0)
    {
        
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
        return 
1;
    } 
Use this.
Reply
#5

same thing to the codes that you posted guyz...
Reply
#6

Quote:
Originally Posted by greekg@ng$st3r
Посмотреть сообщение
same thing to the codes that you posted guyz...
Be happy that you are having your solution.
Reply
#7

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
Be happy that you are having your solution.
huh?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)