Help -
antonio600x - 03.09.2011
How to convert cordinate spawn of-->AddPlayerClass(0,1240.5282,-1639.7385,13.5469,86.2016,0,0,0,0,0,0); //Spawn to ---> SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
Re: Help -
Wesley221 - 03.09.2011
pawn Код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
Check the params, and you will be able to convert it yourself
Re: Help -
antonio600x - 03.09.2011
C:\Documents and Settings\Administrator\Desktop\SERVER\gamemodes\gm beta.pwn(161) : warning 202: number of arguments does not match definition
Re: Help -
Wesley221 - 03.09.2011
We cant do anything without a code. Post the error line
Re: Help -
[LHT]Bally - 03.09.2011
i dont no if this is what you are looking for but this is what i use in my gamemode.
if this is what youre looking for hope it helps.
pawn Код:
AddPlayerClassEx(1, 280,2296.7986,2450.9976,10.8203,94.1213,0,0,0,0,0,0); = police team 1
AddPlayerClassEx(2, 266,2296.7986,2450.9976,10.8203,94.1213,0,0,0,0,0,0); = trucker team 2
key: 2 = team 266 = skin , 2296.7986,2450.9976,10.8203,= xyz
Re: Help -
Wesley221 - 03.09.2011
We need the error line, not your AddPlayerClasses.
Код:
C:\Documents and Settings\Administrator\Desktop\SERVER\gamemodes\gm beta.pwn(161) : warning 202: number of arguments does not match definition
That means line 161.