Little Problem .. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Little Problem .. (
/showthread.php?tid=382773)
Little Problem .. -
[D]ry[D]esert - 04.10.2012
Hi everyone, i get problem with SetPvarInt
Here is the code
pawn Код:
if(dialogid == 10)
{
if(response)
{
SetPVarInt(playerid,"Model",inputtext); --> here is the Error: argument type mismatch (argument 3)
}
}
Re : Little Problem .. -
lelemaster - 04.10.2012
SetPVarInt(playerid,"Model",strval(inputtext)); // if it's a number
Re: Re : Little Problem .. -
[D]ry[D]esert - 04.10.2012
Quote:
Originally Posted by lelemaster
SetPVarInt(playerid,"Model",strval(inputtext)); // if it's a number
|
Thanks for fast replay and solving my problem +rep :3