warning 209: function \"cmd_af\" should return a value
COMMAND:af(playerid,params[]){//Itt van a normál funkciód return 1; //ez hiányzik}
CMD:mp5( playerid ){ if( GetPlayerMoney(playerid) < 6000) { SendClientMessage(playerid,COLOR_ULTRARED,\"Nincs elég pénzed\"); } else { GivePlayerWeapon(playerid,29,500); GivePlayerMoney(playerid,-6000); SendClientMessage(playerid,COLOR_LIME,\"Sikeresen vettél 1 mp5-öt\");}return 1;}CMD:tec9( playerid ){ if( GetPlayerMoney(playerid) < 6500) { SendClientMessage(playerid,COLOR_ULTRARED,\"Nincs elég pénzed\"); } else { GivePlayerWeapon(playerid,32,500); GivePlayerMoney(playerid,-6500); SendClientMessage(playerid,COLOR_LIME,\"Sikeresen vettél 1 tec9-et\");
A tec9 es parancs végén én nem látok visszatérést.
}
CMD:mp5( playerid ){ if( GetPlayerMoney(playerid) < 6000) { SendClientMessage(playerid,COLOR_ULTRARED,\"Nincs elég pénzed\"); } else { GivePlayerWeapon(playerid,29,500); GivePlayerMoney(playerid,-6000); SendClientMessage(playerid,COLOR_LIME,\"Sikeresen vettél 1 mp5-öt\");}return 1;}CMD:tec9( playerid ){ if( GetPlayerMoney(playerid) < 6500) { SendClientMessage(playerid,COLOR_ULTRARED,\"Nincs elég pénzed\"); } else { GivePlayerWeapon(playerid,32,500); GivePlayerMoney(playerid,-6500); SendClientMessage(playerid,COLOR_LIME,\"Sikeresen vettél 1 tec9-et\");}return 1;}
CMD:af(playerid){ if(IsPlayerConnected(playerid)) { if(IsPlayerInAnyVehicle(playerid)) { if(AntiFall[playerid] == false) { vehid[playerid] = GetPlayerVehicleID(playerid); AntiFall[playerid] = true; SendClientMessage(playerid, COLOR_LIGHTBLUE, \"AntiFall mód bekapcsolva!\"); return 1; } else { AntiFall[playerid] = false; SendClientMessage(playerid, COLOR_LIGHTBLUE, \"AntiFall mód kikapcsolva!\"); return 1; } } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Nem vagy jármûben / jármûvön!\"); return 1; }}}
CMD:af(playerid){ if(IsPlayerConnected(playerid)) { if(IsPlayerInAnyVehicle(playerid)) { if(AntiFall[playerid] == false) { vehid[playerid] = GetPlayerVehicleID(playerid); AntiFall[playerid] = true; SendClientMessage(playerid, COLOR_LIGHTBLUE, \"AntiFall mód bekapcsolva!\"); return 1; } else { AntiFall[playerid] = false; SendClientMessage(playerid, COLOR_LIGHTBLUE, \"AntiFall mód kikapcsolva!\"); return 1; } } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Nem vagy jármûben / jármûvön!\"); return 1; }} return 1;}