(Esc > Options > Display Setup > Advanced) The game crashes when a vehicle explodes:
Install GTA to a new directory, to ensure nothing of the old mods are left behind and that all files are clean.
exe or copy the entire folder of your GTA SA and paste it to your desktop, re-locate the folder in your SAMP GUI. exe and go to the compatibility tab and uncheck the " Run this program in compatability mode for: " option, and doing the same for GTA_SA.
This error usually comes on Windows XP, sometimes due to improper installation of any new mod or sometimes due to corruption of files and hence GTA's version information gets lost. set If it founds something, then delete it.
A virus on you computer may have corrupted the file.
If you get the NSIS error while installing software on your computer, then the software has failed the integrity check, and is either corrupt or damaged. After doing that, right click on your SAMP icon, attributes and change the start up folder's name to the newly edited ones.
I hope I can get my PC back quickly so I can update this alot faster.įor now you only have the /kick command and you can figure out something more with it.Runtime errors are computer errors most often caused by system conflicts between system programs and other currently running software applications. If any errors are found please post them here so I can fix them ASAP. I didn't use a compiler for this because my own PC doesn't work anymore and on this laptop I'm not allowed to download anything. Make sure it is id and not playerid because playerid will kick yourself. SendClientMessageToAll(COLOR_WHITE,String) // Sends the message to everyone. GetPlayerName(id, name2, sizeof(name2)) // Getting the name of the target.įormat(String,sizeof(String),"%s has been kicked by admin %s Reason: %s",name2,name1,reason) //We're defining the message here. GetPlayerName(playerid, name1, sizeof(name1)) // Getting the name of the playerid If(!IsPlayerConnected(id)) return SendClientMessage(playerid,COLOR_WHITE,"This player is not connected.") // Obvious why. If (sscanf(params, "us", id,reason)) return SendClientMessage(playerid,COLOR_WHITE,"USAGE: /kick ") //If you didn't fill in the command correctly. We also want to show a message when the target isn't connected You have to tell everything to your script to make it work. kick playerid, it will return a message. We want to see if you typed in the command on a good manner. The ! will make it that it looks if you are NOT an admin. Take a look at the ! infront of IsPlayerAdmin. If the player is NOT an admin, he will get the message: You're not allowed to use this command. Let's translate the line in an English sentence
This line checks if a player is an admin or not. If(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_WHITE,"You're not allowed to use this command.")
New reason // The 80 cells are there because that is the maximum ammount of characters you can fill in.