11.10.2011, 12:27
Entao
Eu tava criando um box de texto e tals quando fui compilar deu uns erros nao consigui resolver
olha aki a Filter:
agora os erros:
a maioria dos erros e nessa linha:
Deis de ja obrigado
Eu tava criando um box de texto e tals quando fui compilar deu uns erros nao consigui resolver
olha aki a Filter:
PHP код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#include <dini>
#pragma tabsize 0
/*new Menu:roupasmenu; */
#define DialogBoxEx 1
public OnFilterScriptInit()
{
/*
roupasmenu = CreateMenu ( "Roupasmenu" , 1 , 300,0 , 300,0 , 300,0 , 300,0 ) ;
AddMenuItem(roupasmenu, 0, "241");
AddMenuItem(roupasmenu, 0, "242");
AddMenuItem(roupasmenu, 0, "243");
AddMenuItem(roupasmenu, 0, "244");
AddMenuItem(roupasmenu, 0, "245");
AddMenuItem(roupasmenu, 0, "246");
AddMenuItem(roupasmenu, 0, "241");
AddMenuItem(roupasmenu, 0, "242");
AddMenuItem(roupasmenu, 0, "243");
AddMenuItem(roupasmenu, 0, "244");
AddMenuItem(roupasmenu, 0, "245");
AddMenuItem(roupasmenu, 0, "246");
AddMenuItem(roupasmenu, 0, "247");
AddMenuItem(roupasmenu, 0, "248");
AddMenuItem(roupasmenu, 0, "249");
AddMenuItem(roupasmenu, 0, "250");
AddMenuItem(roupasmenu, 0, "251");
AddMenuItem(roupasmenu, 0, "252");
AddMenuItem(roupasmenu, 0, "253");
AddMenuItem(roupasmenu, 0, "254");
AddMenuItem(roupasmenu, 0, "255");
AddMenuItem(roupasmenu, 0, "256");
AddMenuItem(roupasmenu, 0, "257");
AddMenuItem(roupasmenu, 0, "258");
AddMenuItem(roupasmenu, 0, "259");
AddMenuItem(roupasmenu, 0, "260");
AddMenuItem(roupasmenu, 0, "261");
AddMenuItem(roupasmenu, 0, "262");
AddMenuItem(roupasmenu, 0, "263");
AddMenuItem(roupasmenu, 0, "264");
AddMenuItem(roupasmenu, 0, "265");
AddMenuItem(roupasmenu, 0, "266");
AddMenuItem(roupasmenu, 0, "267");
AddMenuItem(roupasmenu, 0, "268");
AddMenuItem(roupasmenu, 0, "269");
AddMenuItem(roupasmenu, 0, "270");
*/
CreatePickup(1239,1507.8744,-1714.6392,14.0469,94.4999);
Create3DTextLabel("Use:/Roupas para ver suas roupas ,",0x00FF40AA ,308.1425,1120.4396,1083.8828,25,0,50);
return true;
}
public OnPlayerConnect(playerid)
{
return 1;
}
/*
if(CurrentMenu == roupasmenu)
{
switch(row)
{
case 0:// The first item listed
{
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
SetPlayerSkin(playerid, 241);
GivePlayerMoney(playerid, -100);
}
case 1: // The second item listed
{
SetPlayerSkin(playerid, 242);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 2: // The third item listed
{
SetPlayerSkin(playerid, 243);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 3: // The third item listed
{
SetPlayerSkin(playerid, 244);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 4: // The third item listed
{
SetPlayerSkin(playerid, 245);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 5: // The third item listed
{
SetPlayerSkin(playerid, 246);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 6: // The third item listed
{
SetPlayerSkin(playerid, 247);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 7: // The third item listed
{
SetPlayerSkin(playerid, 248);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 8: // The third item listed
{
SetPlayerSkin(playerid, 249);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 9: // The third item listed
{
SetPlayerSkin(playerid, 250);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 10: // The third item listed
{
SetPlayerSkin(playerid, 251);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 11: // The third item listed
{
SetPlayerSkin(playerid, 252);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 12: // The third item listed
{
SetPlayerSkin(playerid, 253);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 13: // The third item listed
{
SetPlayerSkin(playerid, 254);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 14: // The third item listed
{
SetPlayerSkin(playerid, 255);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 15: // The third item listed
{
SetPlayerSkin(playerid, 256);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 16: // The third item listed
{
SetPlayerSkin(playerid, 257);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 17: // The third item listed
{
SetPlayerSkin(playerid, 258);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 18: // The third item listed
{
SetPlayerSkin(playerid, 259);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 19: // The third item listed
{
SetPlayerSkin(playerid, 260);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 20: // The third item listed
{
SetPlayerSkin(playerid, 261);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 21: // The third item listed
{
SetPlayerSkin(playerid, 262);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 22: // The third item listed
{
SetPlayerSkin(playerid, 263);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 23: // The third item listed
{
SetPlayerSkin(playerid, 264);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 24: // The third item listed
{
SetPlayerSkin(playerid, 265);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 25: // The third item listed
{
SetPlayerSkin(playerid, 266);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 26: // The third item listed
{
SetPlayerSkin(playerid, 267);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 27: // The third item listed
{
SetPlayerSkin(playerid, 268);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 28: // The third item listed
{
SetPlayerSkin(playerid, 269);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 29: // The third item listed
{
SetPlayerSkin(playerid, 270);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 30: // The third item listed
{
SetPlayerSkin(playerid, 294);
SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
GivePlayerMoney(playerid, -100);
}
case 31: // The third item listed
{
SendClientMessage(playerid, 0x000000AA,"Para ver a skin dos ids acesse:https://sampwiki.blast.hk/wiki/Skins:All");
GivePlayerMoney(playerid, -100);
}
}
}
*/
//Agora vocк irб no OnDialogResponse e colocarб a funзгo apуs ele ter apertado OK.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/entrarcasa", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,2335.1667,-1045.6691,52.3582))
{
SetPlayerInterior(playerid, 5)// Interior 5 aonde o player irб ser setado.
SetPlayerPos(playerid, 318.564971,1118.209960,1083.882812);// Aqui й a posiзгo que ele vai spawnar dentro da casa.
SendClientMessage(playerid, 0xFF00AA, "Bem vindo na casa dos hitmans!!");//Mensagem voce pode enfeitar como preferir.
return 1;
}
return 1;
}
if (strcmp("/saircasa", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,318.7040,1114.4817,1083.8828))
{
SetPlayerInterior(playerid, 0)// Interior 5 aonde o player irб ser setado.
SetPlayerPos(playerid, 2335.1667,-1045.6691,52.3582);// Aqui й a posiзгo que ele vai spawnar dentro da casa.
SendClientMessage(playerid, 0xFF00AA, "Saindo casa dos hitmans!!");//Mensagem voce pode enfeitar como preferir.
return 1;
}
return 1;
}
/*
if(strcmp(cmdtext, "/Roupas", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Roupas normais: ");
SendClientMessage(playerid,0xFF0000AA,"");
SendClientMessage(playerid,0xFF0000AA,"/ ");
SendClientMessage(playerid,0xFF0000AA,"ґPara saber as roupas dos ids acesse:https://sampwiki.blast.hk/wiki/Skins:All");
SendClientMessage(playerid,0x00FF40AA,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0xFF0000AA," " );
SendClientMessage(playerid,0x00FF80AA,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
return 1;
}
return 1;
}
*/
// teste
if(!strcmp(cmdtext, "/relax", true))
{
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Are you sure?", "Roupas normais:240,/241,/242,/243,/244,/245,/246/247,/248,/249,/250,/251,/252,/253,/254,/255,/256/n257,/258,/259,/260,/261,/262,/263,/264,/265,/266,/267,/268,/269,/270/nRoupas de organizaзoes e Gangues./nGroove = 105, 106, 107/nBallas = 102, 103, 104 /nAztecas = 114, 115, 116 /nVagos = 108, 109, 110/nTaliban = 121/nYakuza = 120, 118, 117/nAl'Queada = 123 /n Civil = 29 /n Prefeitura = 163, 164 /n Taxistas= 225 /n COPs (De Preto) = 265, 266, 267 e COPs (De BEGE) = 282, 283 /n Exйrcito = 287", "yes", "no");
return 1;
}
if(!strcmp("/287", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa do Exercito");
SetPlayerSkin(playerid, 287);
return 1;
}
return 1;
}
if(!strcmp("/283", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de Bege)");
SetPlayerSkin(playerid, 283);
return 1;
}
return 1;
}
if(!strcmp("/282", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de Bege)");
SetPlayerSkin(playerid, 282);
return 1;
}
return 1;
}
if(!strcmp("/267", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de preto)");
SetPlayerSkin(playerid, 267);
return 1;
}
return 1;
}
if(!strcmp("/266", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de preto)");
SetPlayerSkin(playerid, 266);
return 1;
}
return 1;
}
if(!strcmp("/265", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de preto)");
SetPlayerSkin(playerid, 265);
return 1;
}
return 1;
}
if(!strcmp("/225", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Taxistas");
SetPlayerSkin(playerid, 225);
return 1;
}
return 1;
}
if(!strcmp("/164", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Prefeitura");
SetPlayerSkin(playerid, 164);
return 1;
}
return 1;
}
if(!strcmp("/163", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Prefeitura");
SetPlayerSkin(playerid, 163);
return 1;
}
return 1;
}
if(!strcmp("/29", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa de Civil");
SetPlayerSkin(playerid, 29);
return 1;
}
return 1;
}
if(!strcmp("/123", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Al'Queada");
SetPlayerSkin(playerid, 123);
return 1;
}
return 1;
}
if(!strcmp("/117", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Yakuza");
SetPlayerSkin(playerid, 177);
return 1;
}
return 1;
}
if(!strcmp("/120", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Yakuza");
SetPlayerSkin(playerid, 120);
return 1;
}
return 1;
}
if(!strcmp("/121", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos TaliBan");
SetPlayerSkin(playerid, 121);
return 1;
}
return 1;
}
if(!strcmp("/110", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Vagos");
SetPlayerSkin(playerid, 110);
return 1;
}
return 1;
}
if(!strcmp("/116", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Aztecas");
SetPlayerSkin(playerid, 116);
return 1;
}
return 1;
}
if(!strcmp("/108", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Vagos");
SetPlayerSkin(playerid, 108);
return 1;
}
return 1;
}
if(!strcmp("/109", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Vagos");
SetPlayerSkin(playerid, 109);
return 1;
}
return 1;
}
if(!strcmp("/106", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Groove");
SetPlayerSkin(playerid, 106);
return 1;
}
return 1;
}
if(!strcmp("/103", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupas do Ballas");
SetPlayerSkin(playerid, 103);
return 1;
}
return 1;
}
if(!strcmp("/104", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupas do Ballas");
SetPlayerSkin(playerid, 104);
return 1;
}
return 1;
}
if(!strcmp("/114", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Aztecas");
SetPlayerSkin(playerid, 114);
return 1;
}
return 1;
}
if(!strcmp("/115", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Aztecas");
SetPlayerSkin(playerid, 115);
return 1;
}
return 1;
}
if(!strcmp("/102", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupas do Ballas");
SetPlayerSkin(playerid, 102);
return 1;
}
return 1;
}
if(!strcmp("/107", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Groove");
SetPlayerSkin(playerid, 107);
return 1;
}
return 1;
}
if(!strcmp("/105", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Groove");
SetPlayerSkin(playerid, 105);
return 1;
}
return 1;
}
if(!strcmp("/106", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 106);
return 1;
}
return 1;
}
if(!strcmp("/240", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 240);
return 1;
}
return 1;
}
if(!strcmp("/241", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 241);
return 1;
}
return 1;
}
if(!strcmp("/242", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 242);
return 1;
}
return 1;
}
if(!strcmp("/243", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 243);
return 1;
}
return 1;
}
if(!strcmp("/244", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 244);
return 1;
}
return 1;
}
if(!strcmp("/245", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 245);
return 1;
}
return 1;
}
if(!strcmp("/246", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 246);
return 1;
}
return 1;
}
if(!strcmp("/247", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 247);
return 1;
}
return 1;
}
if(!strcmp("/248", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 248);
return 1;
}
return 1;
}
if(!strcmp("/249", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 249);
return 1;
}
return 1;
}
if(!strcmp("/250", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 250);
return 1;
}
return 1;
}
if(!strcmp("/251", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 251);
return 1;
}
return 1;
}
if(!strcmp("/252", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 252);
return 1;
}
return 1;
}
if(!strcmp("/253", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 253);
return 1;
}
return 1;
}
if(!strcmp("/254", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 254);
return 1;
}
return 1;
}
if(!strcmp("/255", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 255);
return 1;
}
return 1;
}
if(!strcmp("/256", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 256);
return 1;
}
return 1;
}
if(!strcmp("/257", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 257);
return 1;
}
return 1;
}
if(!strcmp("/258", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 258);
return 1;
}
return 1;
}
if(!strcmp("/259", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 259);
return 1;
}
return 1;
}
if(!strcmp("/260", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 260);
return 1;
}
return 1;
}
if(!strcmp("/261", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 261);
return 1;
}
return 1;
}
if(!strcmp("/262", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 262);
return 1;
}
return 1;
}
if(!strcmp("/263", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 263);
return 1;
}
return 1;
}
if(!strcmp("/264", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 264);
return 1;
}
return 1;
}
if(!strcmp("/265", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 265);
return 1;
}
return 1;
}
if(!strcmp("/266", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 266);
return 1;
}
return 1;
}
if(!strcmp("/267", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 267);
return 1;
}
return 1;
}
if(!strcmp("/268", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 268);
return 1;
}
return 1;
}
if(!strcmp("/269", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 269);
return 1;
}
return 1;
}
if(!strcmp("/270", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 270);
return 1;
}
return 1;
}
if(!strcmp("/260", cmdtext,true))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
{
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
SetPlayerSkin(playerid, 260);
return 1;
}
return 1;
}
return 0;
}
PHP код:
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : warning: 213: tag mismatch
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error: 075: input line too long (after substitutions)
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error: 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error: 017: undefined symbol "Roupas"
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : warning: 215: expression has no effect
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error: 029: invalid expression, assumed zero
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error fatal: 107: too many error messages on one line
PHP код:
if(!strcmp(cmdtext, "/relax", true))
{
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Are you sure?", "Roupas normais:240,/241,/242,/243,/244,/245,/246/247,/248,/249,/250,/251,/252,/253,/254,/255,/256/n257,/258,/259,/260,/261,/262,/263,/264,/265,/266,/267,/268,/269,/270/nRoupas de organizaзoes e Gangues./nGroove = 105, 106, 107/nBallas = 102, 103, 104 /nAztecas = 114, 115, 116 /nVagos = 108, 109, 110/nTaliban = 121/nYakuza = 120, 118, 117/nAl'Queada = 123 /n Civil = 29 /n Prefeitura = 163, 164 /n Taxistas= 225 /n COPs (De Preto) = 265, 266, 267 e COPs (De BEGE) = 282, 283 /n Exйrcito = 287", "yes", "no");
return 1;
}