Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Some_one on August 08, 2014, 04:46:00 pm
-
hello guyz!
i hope that you all will be fine!
well i need some help in scripting.hope you people can help me.
here are some errors highlighted.
(http://i58.tinypic.com/21j9abt.jpg)
In these lines.
(http://i58.tinypic.com/2gybubs.jpg)
Plz help me.
-
Please help. I am waiting for replay for nearly 4 days! If you don't know how to solve this then plz tell me.
-
hello guyz!
i hope that you all will be fine!
well i need some help in scripting.hope you people can help me.
here are some errors highlighted.
(http://i58.tinypic.com/21j9abt.jpg)
In these lines.
(http://i58.tinypic.com/2gybubs.jpg)
Plz help me.
Sent full code please
-
Here is the full code of OnPlayerExitVehicle
public OnPlayerExitVehicle(playerid,vehicleid)
{
RemovePlayerMarker(playerid);
/*if(PlayerInfo[playerid][Status] == 0) {
CheckIfZombieEnteredInVehicle[playerid] = 0;
}*/
if(vehicleid > 142) {
if(R[playerid] == 1) {
R[playerid] = 0;
} else {
if(EngineON[vehicleid] == 0) {
IsInVehicle[playerid][vehicleid] = 0;
GameTextForPlayerBottom(playerid," ");
SetVehicleLights(vehicleid,0);
vh[playerid][vehicleid] = 0;
NotDamager[playerid] = 0;
SetVehicleAlarm(vehicleid,0);
}
if(EngineON[vehicleid] == 1) {
IsInVehicle[playerid][vehicleid] = 0;
GameTextForPlayerBottom(playerid," ");
IsEngineOnOutOfPlayer[vehicleid] = 1;
SetVehicleLights(vehicleid,0);
vh[playerid][vehicleid] = 0;
NotDamager[playerid] = 0;
SetVehicleAlarm(vehicleid,0);
);
return 1;
}
Error is in last bold red lines.
-
Help please.
-
I believe this:
);
Should be just this:
)
Ex.
)
return 1;
-
Showing error again but now its showing 4 errors instead 6,Thnx for help.
If you can then solve these errors.
(http://i61.tinypic.com/2jexr9j.jpg)
-
Here is the full code of OnPlayerExitVehicle
public OnPlayerExitVehicle(playerid,vehicleid)
{
RemovePlayerMarker(playerid);
/*if(PlayerInfo[playerid][Status] == 0) {
CheckIfZombieEnteredInVehicle[playerid] = 0;
}*/
if(vehicleid > 142) {
if(R[playerid] == 1) {
R[playerid] = 0;
} else {
if(EngineON[vehicleid] == 0) {
IsInVehicle[playerid][vehicleid] = 0;
GameTextForPlayerBottom(playerid," ");
SetVehicleLights(vehicleid,0);
vh[playerid][vehicleid] = 0;
NotDamager[playerid] = 0;
SetVehicleAlarm(vehicleid,0);
}
if(EngineON[vehicleid] == 1) {
IsInVehicle[playerid][vehicleid] = 0;
GameTextForPlayerBottom(playerid," ");
IsEngineOnOutOfPlayer[vehicleid] = 1;
SetVehicleLights(vehicleid,0);
vh[playerid][vehicleid] = 0;
NotDamager[playerid] = 0;
SetVehicleAlarm(vehicleid,0);
);
return 1;
}
Error is in last bold red lines.
Change ); to }
and fixed
-
Here is the full code of OnPlayerExitVehicle
public OnPlayerExitVehicle(playerid,vehicleid)
{
RemovePlayerMarker(playerid);
/*if(PlayerInfo[playerid][Status] == 0) {
CheckIfZombieEnteredInVehicle[playerid] = 0;
}*/
if(vehicleid > 142) {
if(R[playerid] == 1) {
R[playerid] = 0;
} else {
if(EngineON[vehicleid] == 0) {
IsInVehicle[playerid][vehicleid] = 0;
GameTextForPlayerBottom(playerid," ");
SetVehicleLights(vehicleid,0);
vh[playerid][vehicleid] = 0;
NotDamager[playerid] = 0;
SetVehicleAlarm(vehicleid,0);
}
if(EngineON[vehicleid] == 1) {
IsInVehicle[playerid][vehicleid] = 0;
GameTextForPlayerBottom(playerid," ");
IsEngineOnOutOfPlayer[vehicleid] = 1;
SetVehicleLights(vehicleid,0);
vh[playerid][vehicleid] = 0;
NotDamager[playerid] = 0;
SetVehicleAlarm(vehicleid,0);
);
return 1;
}
Error is in last bold red lines.
Change ); to }
and fixed
THNX FOR HELP
-
how to make .amx plzz tell lucifer
-
how to make .amx plzz tell lucifer
Compile by pawno