C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(334) : error 035: argument type mismatch (argument 2) C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(342) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
cmd(skin298,playerid,params[]) { SetPlayerSkin(playerid,29;//298 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } cmd(skin299,playerid,params[]) { SetPlayerSkin(playerid,299);//299 SendClientMessage(playerid, #FF0000, "vocк trocou skin"); return 1; } |
cmd:skin298(playerid,params[])
{
SetPlayerSkin(playerid, 29);
SendClientMessage(playerid, 0xFF0000FF, "vocк trocou de skin");
return 1;
}
cmd:skin299(playerid,params[])
{
SetPlayerSkin(playerid, 299);
SendClientMessage(playerid, 0xFF0000FF, "vocк trocou skin");
return 1;
}
pawn Код:
|
CMD:skin298(playerid,params[])
{
SetPlayerSkin(playerid, 298); //tava 29 =D
SendClientMessage(playerid, 0xFF0000FF, "vocк trocou de skin");
return 1;
}
CMDkin0,playerid,params[]) { SetPlayerSkin(playerid,0); //0 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin1,playerid,params[]) //1 { SetPlayerSkin(playerid,1); SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin2,playerid,params[])//2 { SetPlayerSkin(playerid,2); SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin3,playerid,params[]) { SetPlayerSkin(playerid,3);//3 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin4,playerid,params[]) { SetPlayerSkin(playerid,4);//4 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin5,playerid,params[]) { SetPlayerSkin(playerid,5);//5 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin6,playerid,params[]) { SetPlayerSkin(playerid,6);//6 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin7,playerid,params[]) { SetPlayerSkin(playerid,7);//7 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin8,playerid,params[]) { SetPlayerSkin(playerid,;//8 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin9,playerid,params[]) { SetPlayerSkin(playerid,9);//9 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin10,playerid,params[]) { SetPlayerSkin(playerid,10);//10 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin11,playerid,params[]) { SetPlayerSkin(playerid,11);//11 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } CMDkin12,playerid,params[]) { SetPlayerSkin(playerid,12);//12 SendClientMessage(playerid, #FF0000, "vocк trocou de skin"); return 1; } |
C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(331) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(335) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(33 : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(342) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(345) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(349) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(352) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(356) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(359) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(363) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(366) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(370) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(373) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(377) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(380) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(384) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(387) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(391) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(394) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(39 : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(401) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(405) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(40 : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(412) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(415) : error 010: invalid function or declaration C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(419) : error 010: invalid function or declaration Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. |
CMD:skin(playerid, params[])
{
new skin, string[128];
if(isnull(params)) return SendClientMessage(playerid, Vermelho, "[ x ] Uso Correto: /Skin [ID] ");
if(skin > 299 || skin < 0) return SendClientMessage(playerid,Vermelho, "[ x ] ID's de Skin{FFFFFF}0 a 299");
SetPlayerSkin(playerid, skin);
SendClientMessage(playerid,AMARELO, "[ > ] Vocк alterou sua skin com sucesso!");
format(string, sizeof string, "[ > ] O ID da sua skin atual й: {FFFFFF}%d", GetPlayerSkin(playerid));
SendClientMessage(playerid, -1, string);
return 1;
}
CMD:skin2,playerid,params[])// Aqui o correto seria: CMD:skin2(playerid, params[])
{
SetPlayerSkin(playerid,2);
SendClientMessage(playerid, #FF0000,"vocк trocou de skin");//A cor estб incorreta, o certo seria: 0xFF0000FF
return 1;
}
C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(334) : error 035: argument type mismatch (argument 2) C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(335) : error 035: argument type mismatch (argument 2) C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(337) : error 035: argument type mismatch (argument 2) C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(33 : error 017: undefined symbol "dstring" C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(33 : error 017: undefined symbol "dstring" C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(339) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors. |
if(sscanf(params, "d", skin)) return SendClientMessage(playerid, #FF0000, "[ x ] Uso Correto: /Skin [ID] "); if(skin > 299 || skin < 0) return SendClientMessage(playerid,#FF0000, "[ x ] ID's de Skin{FFFFFF}0 a 299"); SetPlayerSkin(playerid, skin); SendClientMessage(playerid,#FFFF00, "[ > ] Vocк alterou sua skin com sucesso!"); format(dstring, sizeof dstring, "[ > ] O ID da sua skin atual й: {FFFFFF}%d", GetPlayerSkin(playerid)); SendClientMessage(playerid,#FFFF00, dstring); |
#define amarelo #FFFF00 #define vermelho #FF0000 |
C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(334) : error 017: undefined symbol "vermelho" C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(335) : error 017: undefined symbol "vermelho" C:\Users\Alisson\Desktop\Backup\Documentos e importantes\Misael\samp03z_svr_R1_win32\gamemodes\ game.pwn(337) : error 017: undefined symbol "amarelo" |