Como borrar Gang en gangwar
#1

bueno ps ya les he dicho yo tengo el turf war y quiero borrar la gang de skater y understaker o algo asi bueno yo trate de borrarlos todas las cosas que tenian su nombre y me aparecio esto al final

Код:
C:\Users\user\Documents\GuerraEntreClanes\gamemodes\TotalWar-v2.0.pwn(207) : error 029: invalid expression, assumed zero
C:\Users\user\Documents\GuerraEntreClanes\gamemodes\TotalWar-v2.0.pwn(207) : error 008: must be a constant expression; assumed zero
C:\Users\user\Documents\GuerraEntreClanes\gamemodes\TotalWar-v2.0.pwn(1647) : warning 219: local variable "tmp" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
esta es la parte del 194 al 211

Код:
new Float:ZoneLocations[MAX_ZONES][4] = {
 	{2193.39, -1926.622, 2590.068, -1448.945}, //grove 0
 	{2010.854, -1448.945, 2590.068, -1058.119}, //ballas 1
	{1807.184, -1926.622, 2193.39, -1448.945}, // aztecs 2
	{1075.356, -1885.622, 1424.182, -1390.99}, //nang 3
	{2590.068, -1673.966, 2927.337, -1058.119},//vagos 4
	{1424.182, -1885.622, 1807.184, -1448.945}, // cops 5
	{2079.305, -2312.000, 2547.053, -1926.622},//mafia 6
	{1424.182,-1448.945,1862.935,-1044.718}, // biker 7
	{765.8739, -1885.622, 1075.356, -1390.99}, //triad 8
	{2374.551,-2677.546,2847.865,-2312.000}, //army 9
	{2547.053, -2312.000, 2927.337, -1926.622}, // Low Riders 10
	{1075.356, -1390.99, 1424.182, -1044.718}, // worker 13
};


forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
forward split(const strsrc[], strdest[][], delimiter);
cual es el error que no le entendi?? xD Ayudenme porfas
Reply
#2

Creo que asi ^^

pawn Код:
new Float:ZoneLocations[MAX_ZONES][4] = {
    {2193.39, -1926.622, 2590.068, -1448.945}, //grove 0
    {2010.854, -1448.945, 2590.068, -1058.119}, //ballas 1
    {1807.184, -1926.622, 2193.39, -1448.945}, // aztecs 2
    {1075.356, -1885.622, 1424.182, -1390.99}, //nang 3
    {2590.068, -1673.966, 2927.337, -1058.119},//vagos 4
    {1424.182, -1885.622, 1807.184, -1448.945}, // cops 5
    {2079.305, -2312.000, 2547.053, -1926.622},//mafia 6
    {1424.182,-1448.945,1862.935,-1044.718}, // biker 7
    {765.8739, -1885.622, 1075.356, -1390.99}, //triad 8
    {2374.551,-2677.546,2847.865,-2312.000}, //army 9
    {2547.053, -2312.000, 2927.337, -1926.622}, // Low Riders 10
    {1075.356, -1390.99, 1424.182, -1044.718} // worker 13
};


forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
forward split(const strsrc[], strdest[][], delimiter);
colocaste un coma de mas en la ultima posicion de la gang "worker 13" y en la linea 1647 debes tener un "tmp" borra ese :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)