take the colour before and after
#3

It's make me warning

Код:
C:\Users\mickael\Desktop\Serveur SAMP\gamemodes\PPC.pwn(17948) : warning 213: tag mismatch
C:\Users\mickael\Desktop\Serveur SAMP\gamemodes\PPC.pwn(17965) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
PHP код:
COMMAND:serviceadmin(playeridparams[])
{
    
SendAdminText(playerid"/serviceadmin"params);
    if (
APlayerData[playerid][LoggedIn] == false) return 0;
    if (
APlayerData[playerid][PlayerLevel] < 1) return 0;
     new 
AdminName[24];
    new 
string[128];
    
GetPlayerName(playeridAdminNamesizeof(AdminName));
    
format(stringsizeof(string),"L'administrateur %s c'est mis en service !"AdminName);
    
SendClientMessageToAll(0xFFFFFFstring);
    
SetPlayerSkin(playerid217);
     
SendClientMessage(playerid,0xFFFFFFFF"Vous etes passez en admin en service !");
    
APlayerData[playerid][PlayerColour] = GetPlayerColor(playerid);
    
SetPlayerColor(playerid0xFF0000FF);
    return 
1;
}
COMMAND:stopserviceadmin(playeridparams[])
{
    
SendAdminText(playerid"/stopserviceadmin"params);
    if (
APlayerData[playerid][LoggedIn] == false) return 0;
    if (
APlayerData[playerid][PlayerLevel] < 1) return 0;
    new 
AdminName[24];
    new 
string[128];
    
GetPlayerName(playeridAdminNamesizeof(AdminName));
    
format(stringsizeof(string),"L'administrateur %s c'est mis en hors service admin !"AdminName);
    
SendClientMessageToAll(0xFFFFFFstring);
    
SetPlayerSkin(playerid48);
    
SendClientMessage(playerid,0xFFFFFFFF"Vous etes maintenant en hors service admin !");
    
SetPlayerColor(playeridAPlayerData[playerid][PlayerColour]);
    return 
1;

Reply


Messages In This Thread
take the colour before and after - by Eymeric69 - 21.05.2016, 17:17
Re: take the colour before and after - by Jefff - 22.05.2016, 00:36
Re: take the colour before and after - by Eymeric69 - 22.05.2016, 08:33
Re: take the colour before and after - by Micko123 - 22.05.2016, 08:38
Re: take the colour before and after - by Eymeric69 - 22.05.2016, 10:06
Re: take the colour before and after - by Stinged - 22.05.2016, 10:07
Re: take the colour before and after - by Eymeric69 - 22.05.2016, 11:00
Re: take the colour before and after - by luke49 - 22.05.2016, 11:06
Re: take the colour before and after - by Stinged - 22.05.2016, 12:19
Re: take the colour before and after - by Jefff - 22.05.2016, 18:57

Forum Jump:


Users browsing this thread: 4 Guest(s)