18.02.2010, 20:50
Hey guys. I have a script:
if(IsPlayerInRangeOfPoint(playerid, 1.0, 294.7390,-38.4376,1001.5156))
{
SendClientMessage(playerid,0xFFFFFFFF,"/buygun tec-9 , mp5, sawnoff, deagle, grenade, m4");
SendClientMessage(playerid,0xFFFFFFFF," PRICES : tec-9 2.500$ , mp5 4.000$, sawnoff 7.000$, deagle 1.200$, grenade 9.000$, m4 10.000$");
But when I stand at that position it just spams the messages. I just want them to come one time. not spamming them.
How to fix?
if(IsPlayerInRangeOfPoint(playerid, 1.0, 294.7390,-38.4376,1001.5156))
{
SendClientMessage(playerid,0xFFFFFFFF,"/buygun tec-9 , mp5, sawnoff, deagle, grenade, m4");
SendClientMessage(playerid,0xFFFFFFFF," PRICES : tec-9 2.500$ , mp5 4.000$, sawnoff 7.000$, deagle 1.200$, grenade 9.000$, m4 10.000$");
But when I stand at that position it just spams the messages. I just want them to come one time. not spamming them.
How to fix?