Bladex Posted March 31, 2012 Report Share Posted March 31, 2012 D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6388) : error 010: invalid function or declarationD:\GM SAMP\SAMP03\gamemodes\GM.pwn(6390) : error 010: invalid function or declarationD:\GM SAMP\SAMP03\gamemodes\GM.pwn(6400) : error 010: invalid function or declarationD:\GM SAMP\SAMP03\gamemodes\GM.pwn(6402) : error 010: invalid function or declarationD:\GM SAMP\SAMP03\gamemodes\GM.pwn(6412) : error 010: invalid function or declarationD:\GM SAMP\SAMP03\gamemodes\GM.pwn(6414) : error 010: invalid function or declarationD:\GM SAMP\SAMP03\gamemodes\GM.pwn(6424) : error 010: invalid function or declaration[pawn] if(CP[playerid]==77)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)); { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } if(CP[playerid]==76)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)); { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } if(CP[playerid]==75)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)); { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } return 1;}[/pawn] Link to comment Share on other sites More sharing options...
WanTeD Posted March 31, 2012 Report Share Posted March 31, 2012 [pawn] if(CP[playerid]==77)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)) { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } if(CP[playerid]==76)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)) { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } if(CP[playerid]==75)// { if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)) { towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid)); GivePlayerMoney(playerid, 10000); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000"); GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1); SetVehicleToRespawn(towedcar); DisablePlayerCheckpoint(playerid); } } return 1;}[/pawn] Link to comment Share on other sites More sharing options...
Bladex Posted March 31, 2012 Author Report Share Posted March 31, 2012 nu ai modificat nimic acolo , si tot nu merge . Link to comment Share on other sites More sharing options...
WanTeD Posted March 31, 2012 Report Share Posted March 31, 2012 nu ai modificat nimic acolo , si tot nu merge .Uitate bine,nici nu ai incercat,esti constient,leai verificat barem sa vezi ce am scos ?Tu ai incheiat functia,si dupa ai pus { },sigur nu ai incercat.if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5)); Link to comment Share on other sites More sharing options...
Bladex Posted March 31, 2012 Author Report Share Posted March 31, 2012 nu merge nici asa Link to comment Share on other sites More sharing options...
Question
Bladex
D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6388) : error 010: invalid function or declaration
D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6390) : error 010: invalid function or declaration
D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6400) : error 010: invalid function or declaration
D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6402) : error 010: invalid function or declaration
D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6412) : error 010: invalid function or declaration
D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6414) : error 010: invalid function or declaration
D:\GM SAMP\SAMP03\gamemodes\GM.pwn(6424) : error 010: invalid function or declaration
[pawn] if(CP[playerid]==77)//
{
if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5));
{
towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, 10000);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000");
GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1);
SetVehicleToRespawn(towedcar);
DisablePlayerCheckpoint(playerid);
}
}
if(CP[playerid]==76)//
{
if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5));
{
towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, 10000);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000");
GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1);
SetVehicleToRespawn(towedcar);
DisablePlayerCheckpoint(playerid);
}
}
if(CP[playerid]==75)//
{
if(IsPlayerInVehicle(playerid, tow1) || IsPlayerInVehicle(playerid, tow2) || IsPlayerInVehicle(playerid, tow3) || IsPlayerInVehicle(playerid, tow4) || IsPlayerInVehicle(playerid, tow5));
{
towedcar = GetVehicleTrailer(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, 10000);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai distrus masina pentru $3000");
GameTextForPlayer(playerid, "~b~Masina distrusa cu succes", 2500, 1);
SetVehicleToRespawn(towedcar);
DisablePlayerCheckpoint(playerid);
}
}
return 1;
}[/pawn]
Link to comment
Share on other sites
4 answers to this question
Recommended Posts