19.05.2009, 21:13
I know, I've posted this before, but that had wrong script and no one could answer... so I maked a new one with my new script.
This time it only gives one error: "argument type mismatch (argument 2)"
I maked this script, to show a text in the skin selection.
Thanks for helping me out with the error
This time it only gives one error: "argument type mismatch (argument 2)"
Код:
public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1390.3442,-818.1929,74.2952); SetPlayerFacingAngle(playerid, 126.8305); SetPlayerCameraPos(playerid, 1386.3706,-821.1882,73.7814); SetPlayerCameraLookAt(playerid, 1390.3442,-818.1929,74.2952); { if (classid == 0) { GameTextForPlayer(playerid, 3500, 6, "Civilian"); } } return 1; }
Thanks for helping me out with the error