06.07.2010, 09:34
Hey guys. I made a backup command yesterday but i didn't came out.
now I made another one that works. I did it with a mapicon. But I want this map Icon to follow you.
How to do this?
My script:
now I made another one that works. I did it with a mapicon. But I want this map Icon to follow you.
How to do this?
My script:
Код:
if(strcmp(cmd, "/backup", true)==0) { if(sapd[playerid] >= 1) { for(new i; i<MAX_PLAYERS; i++) { new Float:X,Float:Y,Float:Z; GetPlayerPos(i,X,Y,Z); SetPlayerMapIcon(i, 0, X, Y, Z, 30, 0 ); } } else { SendClientMessage(playerid,COLOR_RED,"You are not part of the sapd"); } return 1; }