ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1274

GTA V Request Players Car

by NGxDTV1225 - 09-04-2018 - 09:00 PM
#1
AddOption("Request his car", "Request his car");

case 1:

{
        int NetworkOptions = selectedPlayer;
        int Args[3];
         Args[0] = 56;
         Args[1] = selectedPlayer;
         Args[2] = 1;
         TriggerScriptEvent(Args, 3, NetworkOptions);
} break;
Reply
#2
since NetworkOptions and selectedPlayer have the same value stored in them you dont even need the NetworkOptions variable. Unsure if you were aware or not.
This account is currently banned
Ban reason: Multi
Reply
#3
(09-04-2018 - 09:00 PM)NGxDTV1225 Wrote: AddOption("Request his car", "Request his car");

case 1:

{
        int NetworkOptions = selectedPlayer;
        int Args[3];
         Args[0] = 56;
         Args[1] = selectedPlayer;
         Args[2] = 1;
         TriggerScriptEvent(Args, 3, NetworkOptions);
} break;

        int Args[3];
         Args[0] = 56;
         Args[1] = selectedPlayer;
         Args[2] = 1;
         TriggerScriptEvent(Args, 3, selectedPlayer);
same
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply

Users browsing: 1 Guest(s)