30.03.2011, 12:51
Ok, so i am trying to add a Vehicle NPC, and when i try to compile... I get this error:
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(160) : warning 204: symbol is assigned a value that is never used: "MyFirstNPCVehicle"
This is what my thing looks like:
public OnGameModeInit()
{
new MyFirstNPCVehicle; //Global variable!
print("Server");
ConnectNPC("Dave","Taxi");
MyFirstNPCVehicle = CreateVehicle(400, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
return 1;
}
I was following this guide:
https://sampforum.blast.hk/showthread.php?tid=95034
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(160) : warning 204: symbol is assigned a value that is never used: "MyFirstNPCVehicle"
This is what my thing looks like:
public OnGameModeInit()
{
new MyFirstNPCVehicle; //Global variable!
print("Server");
ConnectNPC("Dave","Taxi");
MyFirstNPCVehicle = CreateVehicle(400, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
return 1;
}
I was following this guide:
https://sampforum.blast.hk/showthread.php?tid=95034