[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
#2

Sorry for double posting

Anyone have a clue??

i really need help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)