can you help me for this sir to add -
roldan21 - 17.11.2016
sir help me please to add in my script pwn i dont know how too add and fix my script
public OnPlayerSpawn(playerid)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 1);
return 1;
}
Re: can you help me for this sir to add -
SyS - 17.11.2016
Whats the problem?
Re: can you help me for this sir to add -
roldan21 - 17.11.2016
Quote:
Originally Posted by Sreyas
Whats the problem?
|
my problem sir is i dont know how to add this

im not a pro scripter sir
Re: can you help me for this sir to add -
roldan21 - 17.11.2016
Quote:
Originally Posted by Sreyas
Whats the problem?
|
sir Sreyes can you help me please ?
Re: can you help me for this sir to add -
AndySedeyn - 17.11.2016
- Select the code
- Press and hold CTRL
- While holding CTRL, press C
- You can now release CTRL
- Go to your gamemode
- Click on a line where there is no code
- Press and hold CTRL again
- While holding CTRL, press V
- Release CTRL
- Compile
This isn't a scripting issue; it's you being unable to work with a text editor.
Re: can you help me for this sir to add -
roldan21 - 17.11.2016
Quote:
Originally Posted by AndySedeyn
- Select the code
- Press and hold CTRL
- While holding CTRL, press C
- You can now release CTRL
- Go to your gamemode
- Click on a line where there is no code
- Press and hold CTRL again
- While holding CTRL, press V
- Release CTRL
- Compile
This isn't a scripting issue; it's you being unable to work with a text editor.
|
how To This sir ??
C:\Users\vhin0020\Desktop\PHCNR-2017-2019new update\PHCNR-2017-2019\PHCNR 2017\samp037_svr_R2-1-1_win32\gamemodes\PHCNR.pwn(28454) : error 021: symbol already defined: "S@@_OnPlayerSpawn"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Re: can you help me for this sir to add -
Pearson - 17.11.2016
Hello. search OnPlayerSpawn public in your gamemode, then add this
PHP код:
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 1);
Re: can you help me for this sir to add -
roldan21 - 17.11.2016
Quote:
Originally Posted by Pearson
Hello. search OnPlayerSpawn public in your gamemode, then add this
PHP код:
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 1);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 1);

|
hello sir thi is my problem
http://imgur.com/a/JizXC
Re: can you help me for this sir to add -
Vince - 17.11.2016
Quote:
Originally Posted by roldan21
|
My views may be skewed because I'm an experienced coder, but how can anyone be so incredibly dense? I believe even a complete novice should be able to figure out what is wrong merely by looking at how the code around it is structured.
Re: can you help me for this sir to add -
SyS - 17.11.2016
Quote:
Originally Posted by roldan21
sir Sreyes can you help me please ?
|
Oh my mate looks like you haven't touch anything yet.
Start by learning some basics of pawn language and refer to samp wiki to get an idea on scripting.