Small errors
#1

Код:
Desktop\SA-MP Server\gamemodes\VGRP.pwn(8245) : error 001: expected token: ";", but found ")"
Desktop\SA-MP Server\gamemodes\VGRP.pwn(8245) : error 029: invalid expression, assumed zero
Desktop\SA-MP Server\gamemodes\VGRP.pwn(8246) : error 029: invalid expression, assumed zero
LINES:

Код:
(!strcmp(name,"Gregory_Kouk", true)) || (!strcmp(name,"Noah_Fallon", true)))    EstaAutorizado[playerid] = true;//Cambiar el nick por el suyo
     else
Reply
#2

if (!strcmp(name,"Gregory_Kouk", true) || !strcmp(name,"Noah_Fallon", true))
Reply
#3

pawn Код:
(!strcmp(name,"Gregory_Kouk", true)) || (!strcmp(name,"Noah_Fallon", true))    EstaAutorizado[playerid] = true;//Cambiar el nick por el suyo
Reply
#4

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
pawn Код:
(!strcmp(name,"Gregory_Kouk", true)) || (!strcmp(name,"Noah_Fallon", true))    EstaAutorizado[playerid] = true;//Cambiar el nick por el suyo
You just copied my solution. Bad boy.
Reply
#5

excuse me your code is

pawn Код:
if (!strcmp(name,"Gregory_Kouk", true) || !strcmp(name,"Noah_Fallon", true))
mine is

pawn Код:
(!strcmp(name,"Gregory_Kouk", true)) || (!strcmp(name,"Noah_Fallon", true))    EstaAutorizado[playerid] = true;//Cambiar el nick por el suyo

see the difference
Reply
#6

Quote:
Originally Posted by rpg894
Посмотреть сообщение
if (!strcmp(name,"Gregory_Kouk", true) || !strcmp(name,"Noah_Fallon", true))
This fixed it, thanks and enjoy your +REP.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)