03.09.2011, 17:58
pawn Код:
//criadostextlabel
if(strcmp(cmd, "/ctl", true) == 0)
{
if(PlayerInfo[playerid][Level] >= 2) {
if(strlen(cmdtext) < 5)
return SendClientMessage(playerid, -1,"Use: /ctl <texto>");
if(GetPVarInt(playerid,"label")==1)return SendClientMessage(playerid,red,"ERRO: Vocк Ja Tem Um TextLabel Use: /deltl Para Deletalo");
new string__[256], Float:X,Float:Y,Float:Z;
format(string__, sizeof(string__),"%s",cmdtext[4]);
GetPlayerPos(playerid,X,Y,Z);
SetPVarInt(playerid,"LABEL",Create3DTextLabel(string__,-1,X,Y,Z,100.1,0));//Linha 4998
return 1;
} else SendClientMessage(playerid,red,"ERRO: Vocк nao tem permissгo para isso");
return 1; }
//deletarlabel
if(strcmp(cmd, "/deltl", true) == 0)
{
if(PlayerInfo[playerid][Level] >= 2) {
if(GetPVarInt(playerid,"label")==0)return SendClientMessage(playerid,red,"Vocк Ainda Nгo Criou Nenhum TextLabel Use: /ctl");
Delete3DTextLabel(GetPVarInt(playerid,"LABEL"));// Linha 5007
SetPVarInt(playerid,"label",0);
return 1;
} else SendClientMessage(playerid,red,"ERRO: Vocк nao tem permissгo para isso");
return 1; }
Warnings:
pawn Код:
D:\Usuarios\Documentos\Servidor SAMP [HS]\filterscripts\ladmin4v2.pwn(4998) : warning 213: tag mismatch
D:\Usuarios\Documentos\Servidor SAMP [HS]\filterscripts\ladmin4v2.pwn(5007) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.