How do I fix this error?
#4

Quote:
Originally Posted by zerruv
View Post
you mean strval
https://sampwiki.blast.hk/wiki/Strval
Code:
    if(dialogid==2) 
    { 
        if(response) 
        { 
            new message[256]; 
            format(message, 256, "Your skin has been changed to %i.", inputtext); 
            SendClientMessage(playerid, -1, message); 
            SetPlayerSkin(playerid, strval(inputtext));    //line 603 
                return 1; 
        } 
         
    }
yes, I meant to use strval for convert a string to integer
Reply


Messages In This Thread
How do I fix this error? - by aKnoxx - 25.12.2018, 01:17
Re: How do I fix this error? - by iorp - 25.12.2018, 01:30
Re: How do I fix this error? - by zerruv - 25.12.2018, 06:20
Re: How do I fix this error? - by iorp - 25.12.2018, 06:42

Forum Jump:


Users browsing this thread: 1 Guest(s)