07.06.2014, 10:29
Bonjour,
Je voulais faire plusieure commande a la suite mais sa ne marche pas
je vous laisse voir sa :
GM code :
Warning :
Pouvez vous m'aidez ?
Je voulais faire plusieure commande a la suite mais sa ne marche pas
je vous laisse voir sa :
GM code :
Code:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/Credits", cmdtext, true, 10) == 0) { SendClientMessage(playerid,ORANGE,"_____________________! Credits !_____________________"); SendClientMessage(playerid,ORANGE," GM par Eymeric Farge"); SendClientMessage(playerid,ORANGE," GM par Eymeric Farge"); return 1; } return 1; } { if (strcmp("/Skin 1", cmdtext, true, 10 == 0) { SetPlayerSkin(playerid,1) return 1; } return 1; }
Code:
C:\Users\Ordinateur\Desktop\dscbin\gamemodes\GM.pwn(194) : error 055: start of function body without function header C:\Users\Ordinateur\Desktop\dscbin\gamemodes\GM.pwn(195) : error 010: invalid function or declaration C:\Users\Ordinateur\Desktop\dscbin\gamemodes\GM.pwn(198) : error 010: invalid function or declaration C:\Users\Ordinateur\Desktop\dscbin\gamemodes\GM.pwn(200) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.