Quote:
Originally Posted by ancezas
if i get it rigth you need script like this:
pawn Код:
if (strcmp("/siren", cmdtext, true, 6) == 0) { new Float:Coord[ 3 ]; GetPlayerPos( playerid, Coord[ 0 ], Coord[ 1 ], Coord[ 2 ] ); for( new i = 0; i < MAX_PLAYERS; i++ ) { if( IsPlayerConnected( i ) ) { if( IsPlayerInRangeOfPoint( i, 20.0, Coord[ 0 ], Coord[ 1 ], Coord[ 2 ] ) ) { GameTextForPlayer(playerid, "~r~]~b~]", 3000, 1); } } } return 1; }
|
Thosen't this just make the stars pop up on the player typing the /siren command? Shouldn't it be like this?
pawn Код:
GameTextForPlayer(playerid, "~r~]~b~]", 3000, 1);