Jump to content

Aslan

Membru
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Aslan

  1. Defineste MAX_COUNTRY_NAME cu: #define MAX_COUNTRY_NAME numaru-de-country
  2. Incearca asa: [pawn]case pSpawnChangex: { format(var, sizeof(var), "UPDATE 'users' SET 'pSpawnChange'='%d' WHERE 'name'='%s'",PlayerInfo[playerid][pSpawnChange], playerName); }[/pawn]
  3. 1. Pui la inceput: new PlayerInSound[MAX_PLAYERS]; 2. La OnPlayerConnect pui PlayerInSound[playerid] = 0; 3. La OnPlayerUpdate: [pawn]if(PlayerInSound[playerid] == 0) { if (IsPlayerInRangeOfPoint(playerid, 3.0,2327.5669,2420.0872,10.8203)) { PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0); PlayerInSound[playerid] = 1; } } else { if ( !IsPlayerInRangeOfPoint(playerid, 3.0,2327.5669,2420.0872,10.8203) ) { PlayerPlaySound(playerid, 1098 , 0.0, 0.0, 0.0); PlayerInSound[playerid] = 0; } }[/pawn]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.