-
Posts
9 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by andreyctn
-
-
La 7/4/2018 la 21:58, MiritaXD a spus:
uite aici o comanda
CMD:test(playerid, params[]) { if(PlayerInfo[playerid][pLeader] == 0) return SCM(playerid, -1, "Nu esti lider de factiune!"); switch(DynamicFactions[PlayerInfo[playerid][pLeader]][fApplication]) { case 0: SCM(playerid, -1, "Aplicatii deschise!"), DynamicFactions[PlayerInfo[playerid][pLeader]][fApplication] = 1; case 1: SCM(playerid, -1, "Aplicatii inchise!"), DynamicFactions[PlayerInfo[playerid][pLeader]][fApplication] = 0; } return 1; }
Frate nu e comanda asta in gm ..... pfff
-
Cum sa deschid aplicatiile la factiuni ce comanda este ca nu o gasesc !
-
-
Are un bug la comanda /accept invite [id] .
-
La 22/2/2018 la 14:48, MiritaXD a spus:
Incerca asa
CMD:vipname(playerid, params[]) { if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER && GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SCM(playerid, COLOR_WHITE, "Nu esti intr-un vehicul."); new vehicleid = GetPlayerVehicleID(playerid); if(!IsPlayerConnected(playerid)) return SCM(playerid, COLOR_WHITE, "Nu esti conectat"); if(PlayerInfo[IsAnOwnableCar(vehicleid)][pUpgrade] == 0) return SCM(playerid, COLOR_WHITE, "Poti folosi aceasta comanda doar pe vehicule VIP."); new query[256],text[20],test[20]; if(sscanf(params, "s[20]", text)) return SCM(playerid, COLOR_WHITE, "{FF0000}Usage: {FFFFFF}/vipname [Text]"); if(strlen(text) < 1 || text(title) > 20) return SCM(playerid, COLOR_GREY, "Minim 1 caracte maxim 20"); SetVipText(playerid, vehicleid); mysql_real_escape_string(text, test); mysql_format(SQL, query, sizeof(query), "UPDATE `cars` SET `Vip`='%s' WHERE `ID`='%d'", test, CarInfo[IsAnOwnableCar(vehicleid)]); mysql_tquery(SQL, query, "", ""); format(query, sizeof(query), "Text pentru vehicul setat: %s", text); SendClientMessage(playerid, COLOR_ADMCOMMANDS, query); return 1; }
C:\Users\Utente\Desktop\Gamemode AngelZone\gamemodes\VLM.pwn(40240) : error 012: invalid function call, not a valid address
C:\Users\Utente\Desktop\Gamemode AngelZone\gamemodes\VLM.pwn(40240) : error 017: undefined symbol "title"
C:\Users\Utente\Desktop\Gamemode AngelZone\gamemodes\VLM.pwn(40240) : error 029: invalid expression, assumed zero
C:\Users\Utente\Desktop\Gamemode AngelZone\gamemodes\VLM.pwn(40240) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Pfff numai probleme sami bag ceva fratilor. -
Nu merge ai de mine numai probleme am pfff....
-
Nu merge.
poate trebuie sa bag ceva aici ?
mysql_tquery(SQL, query, "? ", "?");
-
Salut.Am o problema la la /vipname am serverul meu propiu< imi fac vehiculul vip si cand ii dau /vipname imi spune Poti folosi aceasta comanda doar pe vehicule VIP.
Poate am gresit cu ceva la Comanda ! Uitati
CMD:vipname(playerid, params[])
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER && GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SCM(playerid, COLOR_WHITE, "Nu esti intr-un vehicul.");
new vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[IsAnOwnableCar(vehicleid)][pUpgrade] == 0)
{
new query[256],text[20],test[20];
if(sscanf(params, "s[20]", text)) return SCM(playerid, COLOR_WHITE, "{FF0000}Usage: {FFFFFF}/vipname [Text]");
if(strlen(text) > 20) return SendClientMessage(playerid, COLOR_WHITE, "Maximum 20 characters are allowed.");
if(strlen(text) == 0) return 1;
SetVipText(playerid, vehicleid);
mysql_real_escape_string(text, test);
mysql_format(SQL, query, sizeof(query), "UPDATE `cars` SET `Vip`='%s' WHERE `ID`='%d'", test, CarInfo[IsAnOwnableCar(vehicleid)]);
mysql_tquery(SQL, query, "", "");
format(query, sizeof(query), "Text pentru vehicul setat: %s", text);
SendClientMessage(playerid, COLOR_ADMCOMMANDS, query);
}
else return SCM(playerid, COLOR_WHITE, "Poti folosi aceasta comanda doar pe vehicule VIP.");
}
return 1;
}
Gamemode Galaxy-Arena (asemanator ruby nephrite)
in Gamemode-uri
Posted
Am adaugato si nu merge Ai de plm coae....