Need HELP! -
Derek_Westbrook - 08.04.2012
Код:
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(405) : warning 217: loose indentation
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(435) : warning 217: loose indentation
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(441) : warning 217: loose indentation
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(447) : warning 217: loose indentation
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(455) : warning 217: loose indentation
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(578) : warning 217: loose indentation
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(583) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(599) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(600) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(606) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(607) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(613) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(614) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(620) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(621) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(627) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(628) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(637) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(643) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(643) : warning 202: number of arguments does not match definition
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(660) : warning 217: loose indentation
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(674) : warning 215: expression has no effect
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(674) : warning 215: expression has no effect
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(674) : warning 215: expression has no effect
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(674 -- 675) : warning 215: expression has no effect
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(675) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\Gangwar.pwn(694) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
Here are the lines
Код:
CMD:tphelp(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Welcome To Impossible Stunt Zone.!");
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Stunt Zones:/lsair /sfair /lvair /mountchilliad /minigun");
return 1;
}
CMD:lsair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Los Santos Airport!");
SetPlayerPos(playerid, 1987.7432,-2533.8328,13.5469,182.8971)
return 1;
}
CMD:sfair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, -2333.7991,-1640.4633,483.7031,278.6575)
return 1;
}
CMD:lvair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Las Venturas Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203,175.3519)
return 1;
}
CMD:mountchilliad(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203,175.3519)
return 1;
}
CMD:minigundm(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Minigun DM!!");
SetPlayerPos(playerid, 1420.3586,3.9109,1002.3906,97.0021)
GivePlayerWeapon(playerid, 38, 999999);
return 1;
}
Need help here!IDk what is it but I paste the code..
Re: Need HELP! -
Manuel_P - 08.04.2012
EDIT: made a mistake, whoops, do what the guys below me are sayin.
Re: Need HELP! -
[DOG]irinel1996 - 08.04.2012
Now it should work without problems:
pawn Код:
CMD:tphelp(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Welcome To Impossible Stunt Zone.!");
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Stunt Zones:/lsair /sfair /lvair /mountchilliad /minigun");
return 1;
}
CMD:lsair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Los Santos Airport!");
SetPlayerPos(playerid, 1987.7432,-2533.8328,13.5469);
return 1;
}
CMD:sfair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, -2333.7991,-1640.4633,483.7031);
return 1;
}
CMD:lvair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Las Venturas Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203);
return 1;
}
CMD:mountchilliad(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203);
return 1;
}
CMD:minigundm(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Minigun DM!!");
SetPlayerPos(playerid, 1420.3586,3.9109,1002.3906);
GivePlayerWeapon(playerid, 38, 999);
return 1;
}
________________________
-SetPlayerPos doesn't use angle, just X Y Z.
-You forgot the ; in some lines.
-The tabsize was wrong.
________________________
Best regards!
Re: Need HELP! -
Kindred - 08.04.2012
pawn Код:
CMD:tphelp(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Welcome To Impossible Stunt Zone.!");
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Stunt Zones:/lsair /sfair /lvair /mountchilliad /minigun");
return 1;
}
CMD:lsair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Los Santos Airport!");
SetPlayerPos(playerid, 1987.7432,-2533.8328,13.5469);
return 1;
}
CMD:sfair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, -2333.7991,-1640.4633,483.7031);
return 1;
}
CMD:lvair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Las Venturas Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203);
return 1;
}
CMD:mountchilliad(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203);
return 1;
}
CMD:minigundm(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Minigun DM!!");
SetPlayerPos(playerid, 1420.3586,3.9109,1002.3906);
GivePlayerWeapon(playerid, 38, 999999);
return 1;
}
Indent your freaking code, and whats with the 5'th parameter for setplayerpos?
EDIT: Beat it to me guys, your all fast
Re: Need HELP! -
Cjgogo - 08.04.2012
pawn Код:
CMD:tphelp(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Welcome To Impossible Stunt Zone.!");
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Stunt Zones:/lsair /sfair /lvair /mountchilliad /minigun");
return 1;
}
CMD:lsair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Los Santos Airport!");
SetPlayerPos(playerid, 1987.7432,-2533.8328,13.5469);
return 1;
}
CMD:sfair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, -2333.7991,-1640.4633,483.7031);
return 1;
}
CMD:lvair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Las Venturas Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203);
return 1;
}
CMD:mountchilliad(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203);
return 1;
}
CMD:minigundm(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Minigun DM!!");
SetPlayerPos(playerid, 1420.3586,3.9109,1002.3906);
GivePlayerWeapon(playerid, 38, 999999);
return 1;
}
Try it!!!
Re: Need HELP! -
wolfcock - 08.04.2012
You forgot ;...
SetPlayerPos(playerid, 1420.3586,3.9109,1002.3906,97.0021) <---- MISSES ; (LOOK ON ALL LINES)
Re: Need HELP! -
Derek_Westbrook - 08.04.2012
Hehehe sorry guys but I'm a New in Scripting..Trying to make my DM Gamemode to Stunt/Mingame Gamemode or what it called..
Re: Need HELP! -
emokidx - 08.04.2012
don't just copy paste anything.. -.-
try this. next time understand the code first.
edit:
btw you forgot a ";" that caused the "error 001: expected token: ";", but found "return""
and the number of arguments in SetPlayerPos were more.
https://sampwiki.blast.hk/wiki/SetPlayerPos
pawn Код:
CMD:tphelp(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Welcome To Impossible Stunt Zone.!");
SendClientMessage(playerid, 0x58AB54FF, "(INFO)Stunt Zones:/lsair /sfair /lvair /mountchilliad /minigun");
return 1;
}
CMD:lsair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Los Santos Airport!");
SetPlayerPos(playerid, 1987.7432,-2533.8328,13.5469);
return 1;
}
CMD:sfair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, -2333.7991,-1640.4633,483.7031);
return 1;
}
CMD:lvair(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Las Venturas Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203);
return 1;
}
CMD:mountchilliad(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to San Fierro Airport!");
SetPlayerPos(playerid, 1609.5449,1646.5601,10.8203);
return 1;
}
CMD:minigundm(playerid,params[])
{
SendClientMessage(playerid, 0x58AB54FF, "(INFO)You have been teleported to Minigun DM!!");
SetPlayerPos(playerid, 1420.3586,3.9109,1002.3906);
GivePlayerWeapon(playerid, 38, 999999);
return 1;
}
edit: oh lol, so many already posted.