[Ajuda] Problemas no cmd de /darhelper nao consigo colocar mais uma pessoa
#1

pawn Код:
if(strcmp(cmd, "/darhelper", true) ==0 )
    {
    GetPlayerName(playerid, sendername, 256);
    if(strcmp(sendername,"Sr_Marquito",true)==0 || strcmp(sendername,"Quaizer_Ga",true)==0 || sendername,"Abraao_Staff",true)==0)
        {
mas deu este erro

Код:
C:\Users\Usuario\Desktop\Meu Server Do Basico\Teste\gamemodes\PlayFortes.pwn(49423) : error 033: array must be indexed (variable "sendername")
C:\Users\Usuario\Desktop\Meu Server Do Basico\Teste\gamemodes\PlayFortes.pwn(49423) : error 029: invalid expression, assumed zero
C:\Users\Usuario\Desktop\Meu Server Do Basico\Teste\gamemodes\PlayFortes.pwn(49423) : warning 215: expression has no effect
C:\Users\Usuario\Desktop\Meu Server Do Basico\Teste\gamemodes\PlayFortes.pwn(49423) : error 001: expected token: ";", but found ")"
C:\Users\Usuario\Desktop\Meu Server Do Basico\Teste\gamemodes\PlayFortes.pwn(49423) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

pawn Код:
if(strcmp(cmd, "/darhelper", true) ==0 )
    {
    GetPlayerName(playerid, sendername, 256);
    if(!strcmp(sendername,"Sr_Marquito",true) || !strcmp(sendername,"Quaizer_Ga",true) || !strcmp(sendername,"Abraao_Staff",true))
        {
Tenta assim
Reply
#3

Obrigado eu consequir copilar +rep para voce !
Reply
#4

Quote:
Originally Posted by Marquito
Посмотреть сообщение
Obrigado eu consequir copilar +rep para voce !
De nada cara.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)