Jump to content
  • 0

pomoc DisableRemoteVehicleCollisions


Ninjonik

Dotaz

Popis problému:

Ahoj,

dneska som si chcel urobiť príkaz na zapnutie a vypnutie kolízie auta.

Nechápem prečo mi to hádže errory keď som si to urobil ako to je vo wikipedii sampu.

Prosím pomôžte.

 

Chyby/varování kompilátoru a při běhu:

C:\Users\pc\Desktop\FS\pgburg.pwn(1338) : error 017: undefined symbol "DisableRemoteVehicleCollisions"

 

Kód:

 

if(!strcmp(cmdtext, "/kolize", true))
    {
     new string[64];

     format(string, sizeof(string), "Kolizia auta je teraz '%s'", (GetPVarInt(playerid, "vehCollision") != 1) ? ("Vypnuta") : ("Zapnuta"));
     SendClientMessage(playerid, 0xFFFFFFFF, string);

     SetPVarInt(playerid, "vehCollision", !GetPVarInt(playerid, "vehCollision"));

     DisableRemoteVehicleCollisions(playerid, GetPVarInt(playerid, "vehCollision"));
     return 1;
    }

 

 

 

Dodatečné poznámky:

--

Link to comment
Share on other sites

3 odpovědí na tuto otázku

Recommended Posts

  • 0
  • Hlavní moderátor

This function was added in SA-MP 0.3.7 and will not work in earlier versions!

Máš nejnovější verzi knihoven?

  • Líbí se mi to! (+1) 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...