09.06.2013, 14:30
Let me just put out my questions..
We can use then our custom classes right?
like
?
I'm asking such thing since currently i cannot test[i don't have gta sa here]
We can use then our custom classes right?
like
PHP код:
class Stupid_Functions {
static public function Hai($player) {
SendClientMessageToAll(0xFFFFFF, "Everyone says hello to ".$player->GetPlayerName()."!");
}
}
////
Event::on("PlayerConnect", function($player) {
Stupid_Functions::Hai($player);
});
I'm asking such thing since currently i cannot test[i don't have gta sa here]