[AYUDA] SetPlayerRaceCheckpoint
#1

Hola a todos
no tengo ni la menor idea de que pasa todo me da error, le he dado vueltas varias veces pero no encuentro soluciуn
Код HTML:
455://El primer punto para poder acceder a la carrera
456:SetPlayerRaceCheckpoint(playerid, 0, -1217.2056, 182.5656, 13.7170, -1341.5752, 40.7477, 13.7193, 1);
457:race == 1;
458:
459://los demas puntos
460:public OnPlayerEnterRaceCheckpoint(playerid)
461:{
462:
463:	 if(race == 1)
464:	 {
465:         SetPlayerRaceCheckpoint(playerid, 0, -1341.5752, 40.7477, 13.7193, -1518.0510,-244.6036,9.3457, 2);
466:		 race == 2;
467:		 }
468:     if(race == 2)
469:	 {
470:         SetPlayerRaceCheckpoint(playerid, 0, -1518.0510, -244.6036, 9.3457, -1559.3732, -444.5236, 5.5713, 3);
471:         race == 3;
472:         }
473:     if(race == 3)
474:	 {
475:         SetPlayerRaceCheckpoint(playerid, 1, -1559.3732, -444.5236, 5.5713, 0.0, 0.0, 0.0, 4);
476:         race == 0;
477:         }
478:}
Errores
(456) : error 021: symbol already defined: "SetPlayerRaceCheckpoint"
(463) : warning 205: redundant code: constant expression is zero
(466) : warning 215: expression has no effect
(468 : warning 205: redundant code: constant expression is zero
(471) : warning 215: expression has no effect
(473) : warning 205: redundant code: constant expression is zero
(476) : warning 215: expression has no effect

El unico "SetPlayerRaceCheckpoint" es el que puse arriba
їsera mejor hacerlo en un FilterScript aparte o lo dejo en el GameMode?
Reply


Messages In This Thread
[AYUDA] SetPlayerRaceCheckpoint - by koraniar - 16.04.2015, 16:23
Respuesta: [AYUDA] SetPlayerRaceCheckpoint - by Shura - 16.04.2015, 16:24
Respuesta: [AYUDA] SetPlayerRaceCheckpoint - by Zume - 16.04.2015, 16:30
Respuesta: [AYUDA] SetPlayerRaceCheckpoint - by koraniar - 17.04.2015, 15:14
Respuesta: [AYUDA] SetPlayerRaceCheckpoint - by OTACON - 17.04.2015, 15:28

Forum Jump:


Users browsing this thread: 1 Guest(s)