//Gangzones new Ballas; new Cripz; new Vagos; new Varios;
//GangZones Ballas = GangZoneCreate(1092.441894, 2431.863769, 2116.441894, 2887.863769); //this line Cripz = GangZoneCreate(865.718933, 1832.264282, 1193.718994, 2488.264160); Vagos = GangZoneCreate(1308.598876, 556.806396, 1836.598876, 1132.806396); //this line Varios = GangZoneCreate(2136.748046, 1941.612792, 2864.748046, 2589.612792); //this line
public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, Varios, 65477); GangZoneShowForPlayer(playerid, Vagos, -65332); GangZoneShowForPlayer(playerid, Cripz, 1538909898); GangZoneShowForPlayer(playerid, Ballas, -2147418167); return 1; }
error 022: must be lvalue (non-constant) error 022: must be lvalue (non-constant) error 022: must be lvalue (non-constant) warning 203: symbol is never used: "Ballas" warning 203: symbol is never used: "Vagos" warning 203: symbol is never used: "Varios"
GangZoneShowForPlayer(playerid, zone, color);
GangZoneShowForPlayer(playerid, Ballas, 0x00FF00AA);
GangZoneShowForPlayer(playerid, Varios, 65477); GangZoneShowForPlayer(playerid, Vagos, -65332); GangZoneShowForPlayer(playerid, Cripz, 153890989; GangZoneShowForPlayer(playerid, Ballas, -2147418167); |
You must use color codes.
pawn Код:
https://sampwiki.blast.hk/wiki/Colors_List EDIT: Example: pawn Код:
|
Vagos = GangZoneCreate(1308.598876, 556.806396, 1836.598876, 1132.806396); //this line Varios = GangZoneCreate(2136.748046, 1941.612792, 2864.748046, 2589.612792); //this line Ballas = GangZoneCreate(1092.441894, 2431.863769, 2116.441894, 2887.863769); //this line |
error 022: must be lvalue (non-constant) error 022: must be lvalue (non-constant) error 022: must be lvalue (non-constant) |