Search Results
Quote:
Originally Posted by CarRamper
Thanks But Getting 1 Error
Код:
error 035: argument type mismatch (argument 1)
fix:
if(!strcmp(udb_hash(inputtext), PlayerInfo[playerid][pPa...
121
Quote:
Originally Posted by Sreyas
Код:
format(AddStr, sizeof(AddStr), "\n%d hits from %s("COL_RED"-%d"COL_WHITE") to HEAD", ShotAt[playerid][i][Bodypart][z], WeaponName(i), GetWeaponD...
84
in
pawn Код:
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
change to
pawn Код:
if(!strcmp(udb_hash(inputtext), PlayerInfo[playerid][pPass], false)
121
I'm trying to create damage system which displays all damage a player takes. I've encountered a problem.
Whenever a player takes a headshot, I want function GetWeaponDamage(I made it) to multiply and ...
84
This is the code when you confirm the purchase on a specific furniture:
pawn Код:
else if(dialogid == DIALOG_FURNITURE_CONFIRM)Â Â {Â Â Â Â new str[256];Â Â Â Â if(!response) return Send...
62
pawn Code:
CMD:revive(playerid, params[]){Â Â if((fInfo[pInfo[playerid][Faction]][Permission] == FACTION_PERM_MED && OnDuty[playerid]) || pInfo[playerid][AdminLevel] > 0)Â Â {Â Â Â ...
69
These are the textdraws:
pawn Код:
Textdraw0 = TextDrawCreate(79.666786, 161.203704, "usebox");Â Â TextDrawLetterSize(Textdraw0, 0.000000, 1.182924);Â Â TextDrawTextSize(Textdraw0, 61.776664, ...
104
Quote:
Originally Posted by GangstaaSunny
Hello barbarbar1,
please use the search function before open a new thread.
https://sampforum.blast.hk/showthread.php?tid=327709 - Tutorial by Drip...
141
pawn Код:
TextDrawShowForPlayer(playerid, RandomTDs[random(sizeof(RandomTDs))]);
Error:
error 035: argument type mismatch (argument 2)
RandomTDs:
pawn Код:
new RandomTDs[][] ={Â Â "Textdraw...
141
Hey,
I am scripting furnitures system, and I would like to check what furniture did the player choose from a dialog. Since there are many furnitures, I am looking for a more effective way than doing l...
93
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid){Â Â if(issuerid != INVALID_PLAYER_ID)Â Â {Â Â Â Â if(pData[issuerid][AdminDuty])return 1;Â Â Â Â new Fl...
47
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid){Â Â if(issuerid != INVALID_PLAYER_ID)Â Â {Â Â Â Â if(pData[issuerid][AdminDuty])return 1;Â Â Â Â new Fl...
52
Error:
pawn Код:
error 017: undefined symbol "AddStaticVehicleExREGISTERED"
Line:
pawn Код:
AddStaticVehicleExREGISTERED(596,1583.5295,-1710.8306,5.8321,359.1083,0,1,30000); //
stock:
pawn Ð...
63
pawn Код:
forward OnPlayerShootVehicle(playerid, vehicleid, unoccupied, weaponid, Float:heathlost);public OnPlayerShootVehicle(playerid, vehicleid, unoccupied, weaponid, Float:heathlost){Â Â if(...
68