07.11.2009, 12:10
Hi there.
I got this here:
Everything works fine, and when I get the message with ID and teleport to the ID, i cant see any object there. Why?
I got this here:
Код:
new playa=random(40);
new msg[24];
if(IsPlayerConnected(playa)==0)
{
while(IsPlayerConnected(playa)==0)
{
playa=random(MAX_PLAYERS);
}
}
arrow[playerid] = CreatePlayerObject(playerid, 1318, ex, ey, ez, kx, ky, kz);
AttachObjectToPlayer(arrow[playerid],playa, 0.0, 0.0, 1.6, 0, 1.5, 2);
format(msg, sizeof msg, "ID %d", playa);
SendClientMessage(playerid,0xFFFF00AA,msg);

