- 0
Comanda remote control
-
Similar Content
-
- 2 replies
- 2.000 views
-
- 1 answer
- 447 views
-
- 10 replies
- 1.385 views
-
- 2 answers
- 1.038 views
-
Am o problema cu un battlepass,de ce nu merge comanda /misiuni cand o scriu,tin sa precizez ca script-ul mi l-a facut chatgpt
By cbnmihaita,
- 2 answers
- 854 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
TheGodfather
Salut, ma puteti ajuta cu o comanda prin care ceea ce scriu eu sa se aplice altui jucatori? De exemplu, /remotecommand <remote player> <command text>, /remotecontrol 206 /engine, ii opreste/porneste motorul playerului cu id 206, /remotecontrol 206 /eject 50, playerul cu id 206 ii da eject din masina playerului cu id 50.
Am incercat asta dar nu merge, am incercat sa apelez si OnPlayerCommandPerformed dar tot nu merge.
YCMD:remotecontrol(playerid, params[], help) {
if(aspam[playerid] > 0) return SCMEx(playerid, COLOR_LIGHTRED, "[Command Anti-Spam] {FFFFFF}Asteapta %d secunde.", aspam[playerid]);
new id, text[30];
if(sscanf(params, "is[30]", id, text)) return SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/remotecontrol <playerid> <command>");
OnPlayerCommandReceived(id, text);
return 1;
}
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now