Search Results
I have the following piece of code in my script: pawn Код: stock StaffRolePerm(id,perm[]){    return srPerms[id][perm];} As far as I can tell, this function should work fine, however, when I a...
85
Код: stock LoadFactions(){ print("Loading Factions..."); format(Query,sizeof(Query),"SELECT * FROM f_m"); mysql_function_query(MainPipe,Query,true,"OnQueryFinish","i",THREAD_LOADFACTIONS); ret...
147
I've fixed that, but still not solution to the problem.. Actually.. now it's not properly loading ANY of the Factions, where originally it was loading the first.
147
Although that didn't fix the issue, the Factions appear to be loading correctly.. maybe it's something with my method of storing Faction Variables? Код: [23:56:38] [DEBUG] mysql_connect - host: "...
147
pawn Код: stock SendClientMessageToAllEx(color,msg[]){     for(new i = 0; i < MAX_PLAYERS; i++){          if(LoggedIn[i] == 1){                SendClientMessage(i,color,msg);  ...
64
pawn Код: COMMAND:admins(playerid, params[]){    new string[128];    if (GetPVarInt(playerid, "PlayerLogged") == 0) return SendClientMessage(playerid, COLOR_WHITE, "You must be logged in to us...
68
I'm attempting to build a Dynamic Faction System using MySQL and I'm having a problem with Loading. My MySQL Table looks like this: http://i.imgur.com/31ouOcm.png Basically, what it's doing is loadi...
147
Woodridge Roleplay Dear SA:MP Community Members, I am Richard Myers, Owner of Woodridge Roleplay. We are currently developing our primary SA:MP Server and we are requiring some additional staff to co...
205,985
Like MatriXgaMer Said, if you don't have the latest version of Sscanf try updating, but also: Quote: Originally Posted by ****** If you are running the latest version of sscanf you fix th...
76
Hey Acres, Do you have something like Код: CMD:setvip(playerid,params[]) for your Command? Are you sure you didn't accidently call Params something different?
82
Here you go: pawn Код: public OnPlayerText(playerid, text[]){    if(text[0] == '@'){    new pn[MAX_PLAYER_NAME],m[128];    GetPlayerName(playerid,pn,sizeof(pn));    strdel(text,0,1);    ...
139
Try This: pawn Код: COMMAND:teamchat(playerid,params[]){new text[128],pn[MAX_PLAYER_NAME],m[128];GetPlayerName(playerid,pn,sizeof(pn));if(sscanf(params,"s[128]",text)) return SendClientMessage(pl...
139
This will remove all vehicles: pawn Code: for(new i = 0; i < MAX_VEHICLES; i++){DestroyVehicle(i);}
52
The Proper way to save RegDate is as a String, You were saving it as an integer: pawn Код: new RegDate[128];format(RegDate, 128, "%d:%d:%d - %d/%d/%d", Hour, Minute, Second, Day, Month, Year);dini...
57
I have the following line in my script to log in: phash = hash(inputtext); if(phash == dini_Int(file,"password")) { alevel[playerid] = dini_Int(file,"alevel"); amonth[playerid] = dini_Int(file,"a...
79
Everything works except the cuff does not appear as it is supposed to: Код: COMMAND:cuff(playerid,params[]) { new obj,pname[MAX_PLAYER_NAME],rname[MAX_PLAYER_NAME],string[128],string1[128],string...
48
Use: new Float:px,Float:py,Float:pz,pint; GetPlayerPos(playerid, px, py, pz); pint = GetPlayerInterior(playerid); SetPlayerPos(playerid, px, py, pz); SetPlayerInterior(playerid,pint);
125
Looks more like a damn near perfect copy to me, editing a couple things doesn't make it your own.
808
Im trying to get the MYSQL plugin to work, and i get the following errors: Quote: [15:42:16] >> mysql_query_callback( Connection handle: 0 ) [15:42:16] >> mysql_query_callback(...
38