26.03.2010, 10:58
Yep, Don is right. What I posted was just an indication to where you went wrong, just a shame you couldn't comprehend what I meant.
We all start like that. We're trying to help, but sometimes a quick fix isn't enough. Learn coding correctly, how to handle brackets is the main pointer.
We all start like that. We're trying to help, but sometimes a quick fix isn't enough. Learn coding correctly, how to handle brackets is the main pointer.
pawn Code:
public OnPlayerSelectedMenuRow(playerid, row)
{
if(CurrentMenu == teleportmenu)
{
switch(row)
{
case 0: //Desert Eagle
{
// code
}
case 1: //Explosion Deathmatch
{
//code
}
//other cases
}
}
if(CurrentMenu == othermenuHmm)
{
}
return 0;
}