Can Anyone Help Me
#1

Removed
Reply
#2

Try to use %d instead of %s. %s shows a string while the values given are integers I guess? If you want to display numbers, use %d.
Reply
#3

Quote:
Originally Posted by sidney123
Посмотреть сообщение
Try to use %d instead of %s. %s shows a string while the values given are integers I guess? If you want to display numbers, use %d.
Can You Show Me Code ? Please
Reply
#4

Quote:
Originally Posted by Zorono
Посмотреть сообщение
Can You Show Me Code ? Please
S- is for the string but you need integer

see this -- https://sampwiki.blast.hk/wiki/Format

Код:
CMD:info(playerid,params[]){
new string[532];
format(string, sizeof(string), "{66FFFF}>>>BRTDM~RP™-PInfo<<<","GRP Rank: %d\n BA Ranks: %d\n B Rank: %d \n TPK Rank: %d \n GSF Rank: %d \n GT Rank: %d \n BT Rank: %d \n BR Rank: %d \n xEF Rank: %d \n BMF Rank: %d \n RFC Rank: %d \n KOD Rank: %d \n AG Rank: %d \n COP Rank: %d \n B2K Rank: %d \n Admin Level: %d",GRPLevel,BALevel,BLevel,TPKLevel,GSFLevel,GTLevel,BTLevel,BRLevel,XEFLevel,BMFLevel,RFCLevel,KODLevel,AGLevel,COPLevel,B2KLevel,Level);
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, string, "OK", "Cancel");
return 1;
Reply
#5

Yes,Use %d
, check ur pm in fb

and make
PHP код:
PlayerInfo[player1][YourLevel], 
Not

AGLevel,RFCLevel,BlaLevel,

see this.
https://sampforum.blast.hk/showthread.php?tid=596196
Reply
#6

your not even checking the playerid.
GRPLevel(playerid),BALevel(playerid),BLevel(player id)
Reply
#7

ok ty all i will try with this codes you all gave me it
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)