[Help] Random playerid
#1

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

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);
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
Reply


Messages In This Thread
[Help] Random playerid - by Dirty_bum - 30.10.2009, 05:47
Re: [Help] Random playerid - by Dirty_bum - 31.10.2009, 06:07

Forum Jump:


Users browsing this thread: 2 Guest(s)