09-14-2007, 12:18 PM
Here some handy commands that i made. Do whit it what you want to do 
The commands are:
./heal (refeals health and armor)
./cash (give's alot of cash)
./flip (flips the car or bike )

Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/cash", true) == 0) {
GivePlayerMoney(playerid,99999999);
SendClientMessage(playerid, 0xDEEE20FF, "You are an MONEY CHEATER.");
return 1;
}
if(strcmp(cmdtext, "/heal", true) == 0) {
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid,-10000);
SendClientMessage(playerid, 0xDEEE20FF, "Your health and armour has been recovered for 10000$.");
return 1;
}
if (strcmp(cmdtext, "/flip", true)==0)
{
new VehicleID, Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, X, Y, Z);
SetVehicleZAngle(VehicleID, 0);
SendClientMessage(playerid, 0xDEEE20FF, "Your car/bike has been flyped.");
return 1;
}
return 0;
}The commands are:
./heal (refeals health and armor)
./cash (give's alot of cash)
./flip (flips the car or bike )
![[Image: 2eebkih.jpg]](http://i39.tinypic.com/2eebkih.jpg)