SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 08/07/2012, 01:11 PM   #1
Pawnocu[44]
Little Clucker
 
Join Date: Aug 2009
Posts: 3
Reputation: 0
Default [Picture Added] Dialog Admins Error?



when admin is two times the two admins.

Sorry English is bad

if (strcmp("/admins", cmdtext, true) == 0)
{
new string[256];
new fstring[256];
new pname[MAX_PLAYER_NAME];
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && PlayerInfo[i][PlayerAdmin] >= 1)
{
GetPlayerName(i,pname, sizeof(pname));
format(fstring, sizeof(fstring),"Adminler\n");
strcat(string, fstring);
format(fstring, sizeof(fstring),"%i %i %s\n", i,PlayerInfo[i][PlayerAdmin],pname);
strcat(string, fstring);
}
}
ShowPlayerDialog(playerid,2563,DIALOG_STYLE_MSGBOX ,"Adminler",string,"OK"," tamam");
return 1;
}

Last edited by Pawnocu[44]; 08/07/2012 at 01:56 PM.
Pawnocu[44] is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] XP Experience System [Picture added] Kitten Filterscripts 15 16/06/2013 06:47 AM
I already added this! Tamao_Serizawa Scripting Help 21 03/01/2012 10:32 AM
How many FS can be added? Loque Help Archive 7 10/08/2011 09:27 AM
[ERROR] Tengo un error con el filterscript Ladmin al escribir /Admins CristianTdj Español/Spanish 1 28/12/2009 10:52 PM
Want To See my bots Help Me VIDEO ADDED! NEW VIDEO ADDED!!! shady91 Screenshots and Videos 46 29/08/2009 12:52 PM


All times are GMT. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.