25.12.2018, 06:20
Quote:
you can not pass string array to the integer value
use this instead of inputtext Code:
strvar(inputtext) |
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; } }