21.01.2011, 18:52
Oh wait I didn't see it 100% xD
Explode:
Get:
Go to:
Get Player Pos: GetPlayerPos(playerid, &Float:X, &Float:Y, &Float:Z);
Set Player Pos: SetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
Create Explosion: CreateExplosion(Float:X, Float:Y, Float:Z, type, Float:radius);
Explode:
Код:
1) Get Player pos from params (use strtok for params) 2) Create explosion at the player's post (X,Y,Z)
Код:
1) Get your own pos 2) Teleport player from params (strtok) to that pos
Код:
1) Get player pos from params (strtok) 2) Set your own pos to that
Set Player Pos: SetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
Create Explosion: CreateExplosion(Float:X, Float:Y, Float:Z, type, Float:radius);