24.12.2011, 20:42
Hello,
how to create Vehicle Number Plate for name : ''Monster-Game'' please
how to create Vehicle Number Plate for name : ''Monster-Game'' please
new bool:IsVehiclePlateOk[MAX_VEHICLES];
OnVehicleSpawn(vehicleid)
{
if(!IsVehiclePlateOk[vehicleid])
{
IsVehiclePlateOk[vehicleid] = true;
SetVehicleNumberPlate(vehicleid, "Monster-Game");
SetVehicleToRespawn(vehicleid);
}
return 1;
}
C:\Documents and Settings\Administrateur\Bureau\Monster-Game version Xmas\gamemodes\TE.pwn(17262) : error 021: symbol already defined: "OnVehicleSpawn" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
} public OnVehicleSpawn(vehicleid) { S_DATA[ S_VSpawns ]++; for( new i=0;i<MAX_PLAYERS;i++ ) { if( vehicleid == P_DATA[ i ][ P_Car ] ) { CarDeleter(vehicleid); P_DATA[ i ][ P_Car ] = -1; } } return 1; }