REP+ Map icon for car export not appearing
#6

Quote:
Originally Posted by ISmokezU
View Post
You need to update your include

Haven't really check your code I just indented it.

PHP Code:
StartNewGame()
{
    if(
CanPlay == 1)
    {
        new 
string[128];
        
ExportVehicleValue MinCarValue+(random(MaxCarValue-MinCarValue));
        
SendClientMessageToAll(COLOR_YELLOW"A new Export-Game has started!");
        
ChooseExportCar();
        
format(stringsizeof(string), "This time the ExportCompany wants a %s, the value of this car is: $%d,-"VehNames[GetVehicleModel(ExportVehicle) - 400], ExportVehicleValue);
        
SendClientMessageToAll(COLOR_YELLOWstring);
        
SendClientMessageToAll(COLOR_YELLOW"The car is indicated with a yellow marker, the player who takes it first to the Export-place wins!");
        for(new 
iMAX_PLAYERSi++)
        {
            
SetVehicleParamsForPlayer(ExportVehiclei10);
        }
        
IsGameStarted 1;
        
GameTimeLeft RoundTime;
        
RoundTimer SetTimer("StopGame"100001);
    }
    new 
Float:ExportCarPos[3];
    
GetVehiclePos(ExportVehicle,ExportCarPos[0],ExportCarPos[1],ExportCarPos[2]);
    for(new 
iGetPlayerPoolSize(); i++)
    {
        
SetPlayerMapIcon(i99ExportCarPos[0], ExportCarPos[1], ExportCarPos[2], 440MAPICON_GLOBAL);
    }

Indented. But it still gives me this error :-

Code:
C:\Users\Rohit\Desktop\World of Fun\filterscripts\CarExport.pwn(709) : error 017: undefined symbol "GetPlayerPoolSize".
Which include should i update to fix this? Im running on 0.3.7 latest.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)