SA-MP Forums Archive
Help plox(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: Help plox(error 035: argument type mismatch (argument 2) (/showthread.php?tid=297965)



Help plox(error 035: argument type mismatch (argument 2) - TheTerminator - 18.11.2011

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 1)
    {
    GameTextForPlayer(playerid, 0xFAF623, "Test!", 3000, 3);
    }
    PlayerPlaySound(playerid, 1187, 258.4506,-41.3547,1002.0234);
    SetPlayerPos(playerid, 258.4506,-41.3547,1002.0234);
    SetPlayerCameraPos(playerid, 258.4506,-41.3547,1002.0234);
    SetPlayerCameraLookAt(playerid, 258.4506,-41.3547,1002.0234);
    return 1;
}
When I do it, I get this error:
error 035: argument type mismatch (argument 2)

I realy dont know why, I'm totaly new at scripting, help me plox


Re: Help plox(error 035: argument type mismatch (argument 2) - TheTerminator - 18.11.2011

Nevermined, fixed :P


Re: Help plox(error 035: argument type mismatch (argument 2) - SmiT - 18.11.2011

https://sampwiki.blast.hk/wiki/GameTextForPlayer