27.04.2018, 12:26
Quote:
well in php you can switch between strings, but pwn doesn't allow it.
|
@OP what about showing us the error you get? Are we to guess the errors you received?
Im not sure if params is to be used in switch but here is an example of how to use switch:
PHP код:
switch(var[playerid])
{
case 0: // when var[playerid] is 0
case 1: // when var[playerid] is 1
}