PDA

View Full Version : error 035: argument type mismatch (argument 2)


Slicebook
29/12/2015, 04:07 PM
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)

PrO.GameR
29/12/2015, 04:10 PM
COL_MKEK << this is not a valid color, my guess is it's embedded color ( {color} )

Slicebook
29/12/2015, 04:13 PM
COL_MKEK << this is not a valid color, my guess is it's embedded color ( {color} )

Thank you!! :p