03.12.2009, 16:37
How do i make a command now ??
i tryed this:
i got 2 languages
but i send nothing in the chat :S pls help !!!
i tryed this:
Код:
dcmd_racetrack(playerid, params[]) { #pragma unused params if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { SetVehicleVirtualWorld(playerid, 0); SetVehiclePos(GetPlayerVehicleID(playerid), 554.0462,-2840.1121,7.4550+5); } else { new pname[MAX_PLAYER_NAME], string1[256], string2[256]; GetPlayerName(playerid, pname, sizeof(pname)); format(string1, sizeof(string1), "%s has Teleported to /racetrack.", pname); GetPlayerName(playerid, pname, sizeof(pname)); format(string2, sizeof(string2), "%s Is naar /racetrack geteleporteert", pname); SendLanguageMessageToAll(COLOR_DARKGREEN,string1,string2); } return 1; }
Код:
#define Englisch 0 #define Dutch 1