[AJUDA]ERROS.
#8

Cara, com o new variбvel[tipodedado]; vocк tб criando uma variбvel de numero inteiro, nгo tem como vocк atribuir um numero a ela, o que vocк pode fazer й atribuir numeros ou assimilar a variбveis que tambйm acumulam valores.
Exemplo:
pawn Код:
new Vip[MAX_PLAYERS];
Vip[playerid] = viplv; //Vamos supor que o valor de viplv estб setado em um comando com strtok...
if(viplv < 1 || viplv > 3) //Agora sim vocк poderia usar a variбvel viplv em comparaзгo com valorez pra ser atribuida a Vip[playerid]
Hб, sugiro que nгo use MAX_PLAYERS, defina o valor de MAXPLAYERS no inicio de GM com o mesmo numero de slot que vocк usa.(Vai economizar bastante no seu GM).
Reply


Messages In This Thread
[AJUDA]ERROS. - by FreeGells - 05.07.2011, 04:31
Re: [AJUDA]ERROS. - by crush_ - 05.07.2011, 04:32
Re: [AJUDA]ERROS. - by FreeGells - 05.07.2011, 04:41
Re: [AJUDA]ERROS. - by Dark.Angel - 05.07.2011, 04:44
Re: [AJUDA]ERROS. - by FreeGells - 05.07.2011, 04:47
Re: [AJUDA]ERROS. - by Dark.Angel - 05.07.2011, 04:49
Re: [AJUDA]ERROS. - by FreeGells - 05.07.2011, 04:57
Re: [AJUDA]ERROS. - by Josma_cmd - 05.07.2011, 05:03
Re: [AJUDA]ERROS. - by FreeGells - 05.07.2011, 05:06
Re: [AJUDA]ERROS. - by Josma_cmd - 05.07.2011, 05:12

Forum Jump:


Users browsing this thread: 1 Guest(s)