Jump to content

question


MAB

Recommended Posts

Posted

how to know if the chat message of a player contains a word? i mean i want to know if the player typed a word between his message to do a function?

You can find me here.

Posted

u mean using a commands ? for e.g: /gc text ?

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted

if u mean commands use this :

  
function test(plr, cmd, ...) 
text = table.concat({..}, " ") 
outputChatBox("Some CHAT :" ..text) 
end 
addComandHandler("gc", test) -- FOR EXAMPLE /gc 
  

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted

JR i need two things from

. 1.example about what u r saying 2. your skype / facebook because i need to talk to u in arabic

You can find me here.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...