10.09.2018, 21:00
Quote:
@YourShadow
should give possibility that other symbols can be added ( @, !, &, $, %, Ў ) instead of alone " / " Example: Code:
CMD:@at(playerid) { //yourcodeblabla... return 1; } CMD:/at(playerid) { //yourcodeblabla... return 1; } CMD:!at(playerid) { //yourcodeblabla... return 1; } CMD:$at(playerid) { //yourcodeblabla... return 1; } Code:
@at | /at | !at | $at Code:
CMD:pallaringas(playerid) { return 1; } |
Quote:
Technically not possible that way since these symbols would be part of the function name. Some of these aren't possible to use in function names in PAWN.
|
PHP Code:
if(text[0] == '!command' && Player[playerid][Spawned] == 1)
{
//function....
return 0;
}