C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 028: invalid subscript (not an array or too many subscripts): "ReportTime"
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : warning 215: expression has no effect
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 001: expected token: ";", but found "]"
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 029: invalid expression, assumed zero
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : fatal error 107: too many error messages on one line
Please help me!
(Sorry for my bad english,im from Romania) :)
I was working on a dust 2 inspired map based on the previous 2013 dust 2 map from CS:GO. I truly wanted to create the atmospheric part of it as well as try to replicate the framework of the passages and everything. I ended up making it more fitting for the environment in SA-MP and it sort of became my version of the map. Note down that ct-spawn and b-site is unfinished and won't be shown. If you want me to finish the map, leave a reply to let me know!
Ontem por volta das 23h, o jovem Lucas da Silva Henrique (s4kuL) foi assassinado em sua propia residência em Conselheiro Lafaiete. s4kuL sempre foi um membro ativo no fórum trazendo projetos, filterscripts e até mesmo gamemodes para ampliar o conhecimento de todos aqui na board.
I made a similar code a long time ago but I lost it, I'm trying to repeat it but it does not work out
When you get into the 425 vehicle, if you are a pilot, you must take it out of the vehicle, but nothing happens with this function that I did, thanks in advance for the help
Code:
if(GetVehicleModel(vehicleid) == 425,playerState == PLAYER_STATE_DRIVER)
{
if(gPilot[playerid] == IS_PILOT) return GameTextForPlayer(playerid, "~r~
You are not a pilot",3000,4),RemovePlayerFromVehicle(playerid);
}
return 1;
}
This include will call OnPlayerTurnUpsideDown callback in case the player turns upside down through a modification.
Callback
PHP Code:
public OnPlayerTurnUpsideDown(playerid, Float:angle)
*Upside Down (https://imgur.com/a/FuXkD) and Random Quats from sandbox will call this callback.
*Parkour mods or any other modification that turns the player upside down will call this callback.
Galera, até hoje não consegui, me ajudem a criar um sistema de empresas para modo RP por favor, não adianta me mandar FS's porque já usei seach e encontrei vários, mais nada adiantou, não consegui entender o código, me mandem uma base por favor...
I realize i posted something similar to this before it was about a normal loop and a loop called by a timer increasing a variable continuously until it reaches max players then it kills timer and resets variable value BUT you guys said that timers were only used in some cases and what not so what i wanna know now is the difference between a normal loop, the timer loop i mentioned, link : HERE
and this:
PHP Code:
CMD:healall(playerid,params[])
{
Loop();
SendClientMessage(playerid,-1,"Healed all players!");
return 1;
}
A callback OnPlayerTurnUpsideDown será chamada se o jogador virar de cabeça para baixo com o uso de modificações.
Callback
PHP Code:
public OnPlayerTurnUpsideDown(playerid, Float:angle)
*Upside Down (https://imgur.com/a/FuXkD) e Random Quats do mod "sorvete" vão chamar esta callback.
*Mods de parkour ou qualquer outra modifcação que vire o jogador de cabeça para baixo vão chamar esta callback.
Image may be NSFW. Clik here to view. Image may be NSFW. Clik here to view.
This script gives you two possible way of robbing the bank. Go in guns blazing and Hope that the clerks comply (25% chance they do).
Or you go to our server dealer: Jim and you go in with a BANG. Watch the video if you're wondering how it works.
Let me know what you hate and love about this script if you feel like it. Thanks!
help me guys with www.proxysite.com because whenever i download someting from it. it gives me process.php file but i dont have .rar items. its gives file like amx how can get rar without .php file??
anticheat.inc Pre Alpha
v1.0 | Updated: 27 Dec, 2017
What this includes?
Anti health hack (100%)
Anti armour hack (100%)
Anti money hack (100%)
Anti weapon spawn hack (100%)
Anti weapon ammo hack (only works accurately for bullet weapons, rest just have ammo increment check, not working for static ammo hack)
Anti weapon range hack (100%)
Anti weapon damage hack (100%)
The include handle weapons/explosions server side, so damage is processed faster than it use to in OnPlayerTakeDamage. So more precise melee hits and bullet registration because everything is done under OnPlayerGiveDamage, with validity checks!
Side Note: I removed lagcomp.inc because this is a better idea, it has anticheat as well as lagcomp fix both!
What are the new callbacks? Note: You won't be able to use "OnPlayerGiveDamage" and "OnPlayerTakeDamage" after including this library. "OnPlayerDamage" handles both in one callback.
// Purpose: Called when a player takes/gives damage; either self inflicted or player to player.
// Parameters: <playerid> - player who took damage
// <issuerid> - player who gave damage (it can be INVALID_PLAYER_ID if damage was self inflicted)
// <weaponid> - weapon used to give damage
// <amount> - how much damage was inflicted
// <bodypart> - what bodypart of "playerid" was hit
// <death> - "true" if player will die after the damage is processed through callback
// Return: "0" - don't process damage and player won't take damage (can be used for RP purpose)
/******************************************************************************/
public OnPlayerDamage(playerid, issuerid, weaponid, Float:amount, bodypart, bool:death) {
// Purpose: Called when a player tries to hack/cheat.
// Parameters: <playerid> - player who's using the hacks
// <type> - what type of hacks were detected (look at list of definitions for type ids)
// Return: "0" - include won't reset stats and you can do your stuff there, like kick or ban
// (for example: if player is detected for weapon hack, and you return "1": include will reset player weapons to original and legit weapons)
/******************************************************************************/
public OnPlayerCheat(playerid, type) {
// Purpose: Set a player's weapon damage value (only applicable to "Player" damage "Player")
// Parameters: <playerid> - playerid whose weapon data is to modify
// <weaponid> - weaponid whose damage value is to modify
// <damage> - damage value
// Return: "0" - unsuccessful
// "1" - successfully damage has been modified
/******************************************************************************/
SetPlayerWeaponDamage(playerid, weaponid, Float:damage);
// Purpose: Get a player's weapon damage value (only applicable to "Player" damage "Player")
// Parameters: <playerid> - playerid whose weapon data is to retrieve
// <weaponid> - weaponid whose damage value is to retrieve
// Return: "0.0" - unsucessful or damage value is 0.0 which is invalid
// "<floating value>" - successfully return damage value greater than 0.0
/******************************************************************************/
Float:GetPlayerWeaponDamage(playerid, weaponid);
// Purpose: Kill a player with your own death reason and killer
// Parameters: <playerid> - playerid to kill
// <killerid> - killerid who killed playerid virtually!
// <reason> - weaponid/reason of which "playerid" died
C:\Users\iwanmf\Desktop\DB\pawno\include\YSI\y_hooks/impl.inc(2336) : error 025: function heading differs from prototype
C:\Users\iwanmf\Desktop\DB\pawno\include\YSI\y_hooks/impl.inc(2383) : error 025: function heading differs from prototype