13/06/2022 00:27
(Esta mensagem foi modificada pela última vez a: 14/06/2022 07:57 por spongebob.)
(12/06/2022 23:22)xbruno1000x Escreveu: Esse erro é de include por não encontrar a função GetPlayerPoolSize nos arquivos. Confira se todas includes nativas estão atualizadas para a última versão do SA-MP 0.3.7.
coloquei :
Código:
#if !defined GetPlayerPoolSize
native GetPlayerPoolSize();
native GetVehiclePoolSize();
#endif
removi a include"callbacks" e usei essa public
Código:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
{
if(GetVehicleModel(VeiculoID[playerid]) == 522){
PutPlayerInVehicle(playerid,VeiculoID[playerid],0);}
não ta perfeito mais ate que ficou bom então resolvido vlw.