[Duvida]Placa Carros
#1

Como faзo pra tipo todos os carros do serve.

Fica com uma placa igual tipo troca todas por "- Teste -"

Ai todas placa fica teste.

alguem souber fala ai, ja vi num serve que todas placas vinham mudadas.

Agradeзo
Reply
#2

Final do OnGameModeInit

pawn Код:
for(new i=1; i<MAX_VEHICLES; i++)
{
    SetVehicleNumberPlate(i, "- Teste -");
}
return 1;
}
Reply
#3

Quote:
Originally Posted by [AF]Junior
Посмотреть сообщение
Final do OnGameModeInit

pawn Код:
for(new i=1; i<MAX_VEHICLES; i++)
{
    SetVehicleNumberPlate(i, "- Teste -");
}
return 1;
}
C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(4632) : error 010: invalid function or declaration
C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(4636) : error 010: invalid function or declaration
Reply
#4

no GF/LARP num funciona :X
Reply
#5

pхe isso depois das #define

pawn Код:
#pragma tabsize 0
Reply
#6

Quote:
Originally Posted by [AF]Junior
Посмотреть сообщение
pхe isso depois das #define

pawn Код:
#pragma tabsize 0
Lol esse pragma tirou 20 Warnigns que tinha :O

Mais o comando ainda da

C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(4632) : error 010: invalid function or declaration
C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(4636) : error 010: invalid function or declaration
Reply
#7

Nem sei, mas tirei as suas warnings, rs.
Reply
#8

Coloque na sua public OnGameModeInit:

pawn Код:
for(new x = 0; x < MAX_VEHICLES; x++)
{
    SetVehiclePlate(x, "- Teste -");
}
Requer a include KveH: https://sampforum.blast.hk/showthread.php?tid=228434


Espero ter ajudado
Reply
#9

2 Erros.

pawn Код:
C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(4630) : error 010: invalid function or declaration
C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(4632) : error 021: symbol already defined: "SetVehiclePlate"
Reply
#10

Quote:
Originally Posted by Jorge_Hard
Посмотреть сообщение
2 Erros.

pawn Код:
C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(4630) : error 010: invalid function or declaration
C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(4632) : error 021: symbol already defined: "SetVehiclePlate"
Aqui compilou normal .

SetVehiclePlate jб estб definido no seu GM, ou seja, talvez voce ja tenha a include ou tenha outra funзгo com o nome SetVehiclePlate.

Se tiver apague-a .


Espero ter ajudado
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)