SetPlayerPos HELP -
Stgnature - 15.05.2014
(11196) : warning 202: number of arguments does not match definition
SetPlayerPos(playerid,1545.2606,-1674.9889,13.5600,88.9077);
AddPlayerClass(266,1545.2606,-1674.9889,13.5600,88.9077,0,0,0,0,0,0); //
i want to make a TP CMDS and i am getting confuse with it
what codes i shoud Put from addplayerclass on Setplayerpos??
Re: SetPlayerPos HELP -
Mriss - 15.05.2014
On SetPlayerPos the arguments is
SetPlayerPos(playerid, X, Y, Z)
Not
SetPlayerPos(playerid, X, Y, Z, FacingAngle);
Re: SetPlayerPos HELP -
Stgnature - 15.05.2014
can u send me the full fixed LINE?
Re: SetPlayerPos HELP -
Sasino97 - 15.05.2014
SetPlayerPos(playerid,1545.2606,-1674.9889,13.5600);
SetPlayerFacingAngle(playerid, 88.9077);
Re: SetPlayerPos HELP -
Riddick94 - 15.05.2014
Quote:
Originally Posted by Stgnature
can u send me the full fixed LINE?
|
What is wrong with you? Can't you see the syntax of the SetPlayerPos function at wiki.sa-mp and manage it at your own? Without trying, you won't be able to script.
https://sampwiki.blast.hk/wiki/SetPlayerPos
Four parameters in that function:
- playerid,
- Float: x,
- Float: y,
- Float: z.
Manage that at your own. Syntax is there, just insert your values, and job done.
Quote:
Originally Posted by [GF]Sasino97
SetPlayerPos(playerid,1545.2606,-1674.9889,13.5600);
SetPlayerFacingAngle(playerid, 88.9077);
|
By doing this, you just want more threads like this. Teach them, instead of giving SIMPLE codes. Simple - can be easy to understand. Let them think, and shuffle their brains.
Re: SetPlayerPos HELP -
Stgnature - 15.05.2014
Quote:
Originally Posted by [GF]Sasino97
SetPlayerPos(playerid,1545.2606,-1674.9889,13.5600);
SetPlayerFacingAngle(playerid, 88.9077);
|
i did it but my game get glitch i cant see buildings