error 035: argument type mismatch
#2

Change to
pawn Код:
SetPlayerPos(playerid, 1046.9867, -2667.2463, 15.0484);
EDIT:
Quote:
Originally Posted by ajmac22
Посмотреть сообщение
How do you know what to put there after you /save? I always mess this up and get this error
The parameters are:
pawn Код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
You only need to copy the 2nd, 3rd and 4th parameter and paste it into the SetPlayerPos function.
pawn Код:
SetPlayerPos(playerid, Float:x, Float:y, Float:z)
Quote:
Originally Posted by Dark Killer
Посмотреть сообщение
extra barcket, extra arguments and extra comma
Just Try this it will work
SetPlayerPos(playerid,(1046.9867,-2667.2463,15.0484)
In /save first 3 are x , y , z others are used for class like weapons 1 , 2 ,3 and others
No, it won't. They are not the first 3, because the 1st parameter is the skin..
Reply


Messages In This Thread
error 035: argument type mismatch - by ajmac22 - 02.12.2012, 13:37
Re: error 035: argument type mismatch - by Konstantinos - 02.12.2012, 13:38
Re: error 035: argument type mismatch - by ajmac22 - 02.12.2012, 13:40
Re: error 035: argument type mismatch - by Dark Killer - 02.12.2012, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)