18.06.2009, 21:16
The command over is like this
pawn Код:
if (strcmp("/aquasp", cmdtext, true) == 0)
{
SetPlayerPos(playerid,3242.927,-761.425,2.590);
SetPlayerFacingAngle(playerid, 81.020889);
RemovePlayerFromVehicle(playerid);
ResetPlayerWeapons(playerid);
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
format(string, sizeof(string), "%s has joined Aquasp ( /aquasp )",playername);
SendClientMessageToAll(COLOR_LIGHTBLUE,string);
return 1;
}
//------------------------------------------------------------------------------