| GetWeaponDamage(WeaponID)
| • return: Damage from Weaponid in Healthpoints
| • wrong Syntax: return Error Message
| • example: printf("Weapon Damage from Weapon 31 is %d HP per Bullet",GetWeaponDamage(31));
| IsKeyDown(Player,const Key)
| • return: true
| • wrong Syntax: return Error Message
| • example: printf("Player Holds fire: %b",IsKeyDown(playerid,KEY_FIRE));
| FreezeVehicle(vehid,time)
| • return: true
| • wrong Syntax: return Error Message
| • example: FreezeVehicle(GetPlayerVehicleID(playerid),5000)
| SetVehicleParams(VehicleID,Engine,Light,Alarm,Locked,Boonet,Boot,Objective)
| • return: true
| • wrong Syntax: -impossible-
| • example: SetVehicleParams(GetPlayerVehicleID(playerid),-1,-1,-1,-1,1,1,-1)
| AddAction(const Name[MAX_ACTION_NAME],playerid=INVALID_ACTION_ID)
| • return: true
| • wrong Syntax: -impossible-
| • example: AddAction("Peace",INVALID_ACTION_ID)
| RemAction(const Name[MAX_ACTION_NAME],playerid=INVALID_ACTION_ID)
| • return: true
| • wrong Syntax: -impossible-
| • example: RemAction("Peace",INVALID_ACTION_ID)
| AddActionTime(time,const Name[MAX_ACTION_NAME],playerid=INVALID_ACTION_ID)
| • return: true
| • wrong Syntax: false
| • example: AddActionTime(10,"Peace",INVALID_ACTION_ID)
| RemActionTime(time,const Name[MAX_ACTION_NAME],playerid = INVALID_ACTION_ID)
| • return: true
| • wrong Syntax: false
| • example: RemActionTime(5,"Peace",INVALID_ACTION_ID)
| GetSecondsBetweenAction(const Name[MAX_ACTION_NAME],playerid = INVALID_ACTION_ID)
| • return: Player: playerid, Seconds / Server: Seconds
| • wrong Syntax: false
| • example: printf("Action \"Peace\" is %d Seconds ago",GetSecondsBetweenAction("Peace",INVALID_ACTION_ID));
| IfActionExist(const Name[MAX_ACTION_NAME],playerid=INVALID_ACTION_ID)
| • return: true
| • wrong Syntax: false
| • example: printf("Action \"Peace\" exist: %d",IfActionExist("Peace",INVALID_ACTION_ID));
| GetActionID(const Name[MAX_ACTION_NAME],playerid=INVALID_ACTION_ID)
| • return: Action ID
| • wrong Syntax:INVALID_ACTION_ID
| • example: printf("Action \"Peace's\" ID ist : %d",GetActionID("Peace",INVALID_ACTION_ID));
| GetFreeActionID()
| • return: Free Action ID
| • wrong Syntax: INVALID_ACTION_ID
| • example: printf("Next free Action ID is : %d",GetFreeActionID());
| ToggleCheatForPlayer(playerid,Cheat[],bool:Allowed)
| • -UNFINISHED, dont use it!-
| IsCheatAllowedForPlayer(playerid,Cheat[])
| • -UNFINISHED, dont use it!-
| SendClientCommand(playerid,Command[])
| • return: true
| • wrong Syntax: -impossible-
| • example: SendClientCommand(playerid,"/help")
| GetNextFreePlayerID()
| • return: free id/-1
| • wrong Syntax: -impossible-
| • example: printf("Next free Player ID is: %d",GetNextFreePlayerID());
| SetServerPassword(password[])
| • return: true
| • wrong Syntax: -impossible-
| • example: SetServerPassword("Peace");
| RemoveServerPassword()
| • return: true
| • wrong Syntax: -impossible-
| • example: RemoveServerPassword();
| ScrollText(Text[])
| • return: scrolled text
| • wrong Syntax: -impossible-
| • example: ScrollText("Peace")
| RemoveCranesForPlayer(playerid)
| • return: true
| • wrong Syntax: -impossible-
| • example: RemoveCranesForPlayer(playerid);
| RemoveSodaMachinesForPlayer(playerid)
| • return: true
| • wrong Syntax: -impossible-
| • example: RemoveSodaMachinesForPlayer(playerid);
| GetRandomNumber(...)
| • return: one random entered number
| • wrong Syntax: -unknown-
| • example: RemoveSodaMachinesForPlayer(playerid);
| GetRandomColor()
| • return: Colorcode like
| • wrong Syntax: -unknown-
| • example: SetPlayerColor(playerid,GetRandomColor());
| IsValidVehicle(VehicleID)
| • return: true/false
| • wrong Syntax: false
| • example: printf("Vehicle ID 123 exist %d on the Server!",IsValidVehicle(123));
| ReverseText(const Text[])
| • return: reversed text
| • wrong Syntax: -impossible-
| • example: printf("Reversed text: %s", ReverseText("!dlroW ecaeP));
| GetRandomCode(Cells)
| • return: Random Code
| • wrong Syntax: return Error Message
| • example: printf("Random Code with 45 Cells: %s",GetRandomCode(45));
| GetPlayerIPEx(playerid)
| • return: Player IP
| • wrong Syntax: -imposssible-
| • example: printf("IP from Player ID 4 is: %s",GetPlayerIPEx(4));
| SendClientMessageEx(Color,Text[],...)
| • return: true
| • wrong Syntax: -imposssible-
| • example: SendClientMessageEx(-1,"This Message dont go to ID 4,8,25,123 and 499!",4,8,25,123,499)
| GetVehicleDriver(VehicleID)
| • return: vehicle driver/-1
| • wrong Syntax: -imposssible-
| • example: printf("Driver of Vehicle ID 16 is Player ID: %d",GetVehicleDriver(16));
| IsValidNosVehicle(VehicleID)
| • return: true/false
| • wrong Syntax: -imposssible-
| • example: printf("Vehicle ID 12 is %d valid Nos Vehicle",IsValidNosVehicle(12));
| Log(FileName[],FileType[],Text[])
| • return: true
| • wrong Syntax: return Error Message
| • example: Log("Peace","wrl","This text got logged in the \"Peace.wrl\" File in the Scriptfiles directory!")
| KickEx(...)
| • return: true
| • wrong Syntax: -imposssible-
| • example: KickEx(4,8,25,123,499);
| IsPlayerReloading(playerid)
| • return: true/false
| • wrong Syntax: -imposssible-
| • example: printf("Player ID 4 reloads %d",IsPlayerReloading(4));
| IsValidSkin(SkinID)
| • return: true/false
| • wrong Syntax: -imposssible-
| • example: printf("Skin ID 123 is %d Valid Skin!",IsValidSkin(123));
| GetVehicleMaxPassengers(VehicleID)
| • return: vehicle seats
| • wrong Syntax: -imposssible-
| • example: printf("Max Passengers of Vehicle ID 16 are %d!",GetVehicleMaxPassengers(16));
| OnPlayerEnterCheat(playerid,Cheat[]);
| • -UNFINISHED, dont use it!-
#include pFunc
• 6.10.2011:
-» Initial release.
• 18.10.2011:
-» Improved ReverseText(..)
-» Improved IsValidVehicle(..)
-» Removes all #pragma unused
if I use '0' as server password, server unlocks? |
| RemoveServerPassword() | • return: true | • wrong Syntax: -impossible- | • example: RemoveServerPassword();
#pragma unused GetWeaponDamage
#pragma unused IsKeyDown
#pragma unused FreezeVehicle
#pragma unused FreezeVehicleEx
#pragma unused SetVehicleParams
#pragma unused AddAction
#pragma unused RemAction
#pragma unused AddActionTime
#pragma unused RemActionTime
#pragma unused GetSecondsBetweenAction
#pragma unused IfActionExist
#pragma unused GetActionID
#pragma unused GetFreeActionID
#pragma unused ScrollText
#pragma unused SendClientCommand
#pragma unused IsCheatAllowedForPlayer
#pragma unused ToggleCheatForPlayer
#pragma unused OnPlayerEnterCheat
#pragma unused GetNextFreePlayerID
#pragma unused SetPlayerOnPlayerUpdateDelay
#pragma unused SetOnPlayerUpdateDelay
#pragma unused RemoveServerPassword
#pragma unused SetServerPassword
#pragma unused RemoveSodaMachinesForPlayer
#pragma unused RemoveCranesForPlayer
#pragma unused GetRandomNumber
#pragma unused GetRandomColor
#pragma unused IsValidVehicle
#pragma unused ReverseText
#pragma unused GetRandomCode
#pragma unused GetVehicleMaxPassengers
#pragma unused IsValidSkin
#pragma unused IsPlayerReloading
#pragma unused KickEx
#pragma unused Log
#pragma unused SendClientMessageEx
#pragma unused GetPlayerIPEx
#pragma unused GetVehicleDriver
#pragma unused IsValidNosVehicle