SetPlayerPos won't work under OnPlayerRequestClass
#1

Yeah the title says it all.

I use this for test.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
new Float:x, Float:y, Float:z;
SetPlayerPos(playerid, 5.0, 5.0, 5.0);
GetPlayerPos(playerid, x, y, z); printf("%f %f %f", x, y, z);
return 1;
}
From server log

[16:50:23] 0.000000 0.000000 0.000000
[16:50:24] 0.000000 0.000000 0.000000
[16:50:30] 0.000000 0.000000 0.000000
[16:50:30] 0.000000 0.000000 0.000000

Why aint it setting my pos to 5.0?...

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)