Fire System
#1

Hey guys im here because i got some problems with my fire system what i dont know how to fix the errors

Код:
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(3129) : error 017: undefined symbol "CHECKPOINT_FIRE"
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(3177) : error 017: undefined symbol "CHECKPOINT_FIRE"
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(83328) : error 021: symbol already defined: "VehicleToPoint"
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(83555) : error 021: symbol already defined: "DistanceCameraTargetToLocation"
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(3163) : warning 204: symbol is assigned a value that is never used: "RandomFireTimer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
and the lines

Код:
3129:SetPVarInt(i, "PlayerCheckpointStatus", CHECKPOINT_FIRE);
3177:if(GetPVarInt(i, "PlayerCheckpointStatus") == CHECKPOINT_FIRE)
83328:stock VehicleToPoint(Float:radi, vehicleid, Float:x, Float:y, Float:z)
{
83555:Float:DistanceCameraTargetToLocation(Float:CamX, Float:CamY, Float:CamZ,  Float:ObjX, Float:ObjY, Float:ObjZ,  Float:FrX, Float:FrY, Float:FrZ)
{
3163RandomFireTimer = SetTimer("RandomFire", FIRE_STOP_RANDOM_FIRE, false);
please answer me ASAP
Reply
#2

Код:
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(3129) : error 017: undefined symbol "CHECKPOINT_FIRE"
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(3177) : error 017: undefined symbol "CHECKPOINT_FIRE"
As you can see it says that they are undefined. You have to create new CHECKPOINT_FIRE[MAX_PLAYERS];


Код:
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(83328) : error 021: symbol already defined: "VehicleToPoint"
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(83555) : error 021: symbol already defined: "DistanceCameraTargetToLocation"
This means that you have defined your VehicleToPoint and DistanceCameraTargetToLocation more than once, so you just have to delete unneeded ones.

Код:
C:\Users\Erik\Desktop\Uus kaust\High End Roleplay\gamemodes\FGRP.pwn(3163) : warning 204: symbol is assigned a value that is never used: "RandomFireTimer"
This means that you have defined symbol but you have never used it, you can just remove it or use it. Anyways you can run server with this warning
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)