Unknown Error
#8

PHP код:
public OnPlayerCommandText(playeridcmdtext[]) 

    print(
"Called");
    if(
strcmp(cmdtext"/sit"true) == 0
    { 
        
ApplyAnimation(playerid,"PED","SEAT_idle",4,0,0,01,0,1); 
        print(
"Animation Applied");
        return 
1
    } 
    return 
0

Can you try this code and tell us does it print in the console?
Reply


Messages In This Thread
Unknown Error - by CarRamper - 05.06.2016, 10:18
Re: Unknown Error - by Eymeric69 - 05.06.2016, 10:21
Re: Unknown Error - by CarRamper - 05.06.2016, 10:30
Re: Unknown Error - by Dayrion - 05.06.2016, 10:40
Re: Unknown Error - by CarRamper - 05.06.2016, 10:48
Re: Unknown Error - by Eymeric69 - 05.06.2016, 10:51
Re: Unknown Error - by CarRamper - 05.06.2016, 11:26
Re: Unknown Error - by oMa37 - 05.06.2016, 12:13
Re: Unknown Error - by Onfroi - 05.06.2016, 15:50
Re: Unknown Error - by CarRamper - 05.06.2016, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)