error 035: argument type mismatch (argument 2) - 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: error 035: argument type mismatch (argument 2) (
/showthread.php?tid=597322)
error 035: argument type mismatch (argument 2) -
Slicebook - 29.12.2015
Hello,how to fix? Thanks for help!
Код:
CMD:carjacked(playerid, params[])
{
switch( strval(params) )
{
case 1: LoopingAnim(playerid,"PED","CAR_jackedLHS",4.0,0,1,1,1,0);
case 2: LoopingAnim(playerid,"PED","CAR_jackedRHS",4.0,0,1,1,1,0);
default: SCM(playerid, COL_MKEK, "Use: /carjacked [1/2]"); <<< error
}
return true;
}
Код:
(12197) : error 035: argument type mismatch (argument 2)
Re: error 035: argument type mismatch (argument 2) -
PrO.GameR - 29.12.2015
COL_MKEK << this is not a valid color, my guess is it's embedded color ( {color} )
Re: error 035: argument type mismatch (argument 2) -
Slicebook - 29.12.2015
Quote:
Originally Posted by PrO.GameR
COL_MKEK << this is not a valid color, my guess is it's embedded color ( {color} )
|
Thank you!!