30.10.2009, 05:47
Hello! i am really confused
i want to get a random playerid and Create a explosion on them and send a message to them i tryed this
but the message could be for any random id not the one getting the explosion
or the code could be a fail itself
i just dont know how
Any help?
Thanks
i want to get a random playerid and Create a explosion on them and send a message to them i tryed this
pawn Код:
new randomid = random(Slots), Float:x,Float:y,Float:z;
SendClientMessage(randomid, 0xFFFFFFFF, "Test");
GetPlayerPos(randomid, x, y, z);
CreateExplosion(x, y, z, 11, 10);
or the code could be a fail itself
i just dont know how
Any help?
Thanks