GangZoneFlashForPlayer
#1

Don't work flash... I do not understand why.
Код HTML:
new spk;
public OnGameModeInit()
{
    spk = GangZoneCreate(917, -1964, 1554, -1511);
    return 1;
}
CMD:showzone(playerid, params[])
{
    GangZoneShowForPlayer(playerid, spk, 0xFFFF00AA);
    return 1;
}
CMD:flashzone(playerid, params[])
{
    GangZoneFlashForPlayer(playerid, spk, 0x009100AA);
    return 1;
}
CMD /showzone work.
CMD /flashzone not working.
Thank you for reading.
Reply
#2

Try to flash with different color like

PHP код:
GangZoneFlashForPlayer(playeridspk0xFF0000FF); 
Reply
#3

try to flash after show:


CMD:flashzone(playerid, params[])
{
GangZoneShowForPlayer(playerid, spk, 0xFFFF00FF);
GangZoneFlashForPlayer(playerid, spk, 0x009100FF);
return 1;
}
Reply
#4

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
Try to flash with different color like

PHP код:
GangZoneFlashForPlayer(playeridspk0xFF0000FF); 
It does not work ...
I also took a new server (SA-MP 0.3.7-R2 Windows Server) to try, and the same. It does not work on Grandlarc.
Reply
#5

Quote:
Originally Posted by Florin48
Посмотреть сообщение
try to flash after show:


CMD:flashzone(playerid, params[])
{
GangZoneShowForPlayer(playerid, spk, 0xFFFF00FF);
GangZoneFlashForPlayer(playerid, spk, 0x009100FF);
return 1;
}
No work...
Reply
#6

Working fine for me i have tested this code


give a try with this example



PHP код:
//on top of script
new zone1
then

PHP код:
public OnGameModeInit()
{
    
zone1 GangZoneCreate(917, -19641554, -1511);
    return 
1;

then

PHP код:
CMD:showzone(playeridparams[])
{
    
GangZoneShowForPlayer(playeridzone10xFFFF00AA);
    return 
1;
}
CMD:flashzone(playeridparams[])
{
    
GangZoneFlashForPlayer(playeridzone10x009100AA);
    return 
1;

Reply
#7

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
Working fine for me i have tested this code


give a try with this example



PHP код:
//on top of script
new zone1
then

PHP код:
public OnGameModeInit()
{
    
zone1 GangZoneCreate(917, -19641554, -1511);
    return 
1;

then

PHP код:
CMD:showzone(playeridparams[])
{
    
GangZoneShowForPlayer(playeridzone10xFFFF00AA);
    return 
1;
}
CMD:flashzone(playeridparams[])
{
    
GangZoneFlashForPlayer(playeridzone10x009100AA);
    return 
1;

It does not work .. Can you give me a. Amx with these complied? There's something wrong with my includes...
Reply
#8

Try this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)