|
Funkcija:
A jtkos pozcijnak tlltsa
Paramterei:
SetPlayerPos(playerid, x, y, z);
x - koordinta
y - koordinta
z - koordinta
Plda:
-
public OnPlayerCommandText(playerid, cmdtext[])
-
{
-
if (strcmp("/desert", cmdtext, true, 10) == 0)
-
{
-
SetPlayerPos(playerid, 371.2094,2470.0288,16.4844);
-
return 1;
-
}
-
return 0;
-
}
| |