Search Results
Could you elaborate on that? EDIT: This has been solved by myself.
109
Don't think there's such a way, handing out your script to others is basically asking for them to use it.
549
In your LoadPlayerData function, save the IP to a declaration in a string, then use this in your /getip command. Example: pawn Code: //Somewherenew PlayerIP[32];//LoadPlayerDataGetPlayerIp(playerid,...
210
Updated code, might work better. pawn Code: CMD:ff(playerid, params){    new Float:fPX, Float:fPY, Float:fVX, Float:fVY, Float:object_x, Float:object_y, Float:player_x, Float:player_y, Float:playe...
89
Apologies, I meant IsPlayerInRangeOfPoint in my above message.
118
Try setting a timer to the function where you create the object for the graffiti, my only suspicion is that INI_ParseFile might finish before it creates the objects, however then again PAWN runs on a ...
115
If it's working then I'm happy to help, I'm also glad you enjoy it.
110
Does it work fine in passenger seats? If that's the case then the game applies a new animation to the player when you press W/S and so on. Try debugging it with something like creating a new function ...
178
I assume you have all of that text in the same textdraw, show us your code please. You will have to use TextDrawCreate and assign it to a Text:Whatever for every different piece of text you want to s...
237
What you're doing is that you're attaching the text to statically be -3.0 from the object's Y at all times, which isn't efficient. If you rotate the object, the text will still be -3.0 from the object...
119
Just tried the very same code and it worked perfectly fine for me: http://puu.sh/nrkHU/83b1755fa3.png You've either hit the limit, or you're doing something wrong in OnPlayerConnect. Mind showing us ...
278
Quote: Originally Posted by Wizzard2H That's why I use ColAndreas and the RayCastLineAngle function? As I said, I've never used the plugin, it was just a mere suggestion to why your scr...
198
pawn Code: public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ){    if(hittype == BULLET_HIT_TYPE_VEHICLE)    {        new Float:vHealth;        Get...
172
First of all, add the following code at the top of your script with your other declarations: pawn Code: native IsValidVehicle(vehicleid); Here is my extremely inefficient function that loops through...
118
You have static values for where the blood object is supposed to be created and I don't think the script can know the distance to the closest wall in order to create the blood on it.
198
By formatting the string that you're going to show up in your dialog https://sampwiki.blast.hk/wiki/Format Example: pawn Code: new str[128];format(str, sizeof(str), "Command\tDescription\tPlaying\n...
110
Change the alpha of the hex colour code in SelectTextDraw.
80
I'm currently trying to learn how to script SQLite for educational purposes (to further my skill), however in the process of attempting to make a dynamic system where I've two tables, let's call them ...
109